Page tree
Skip to end of metadata
Go to start of metadata

Description

Does user exist on the local computer 

 

Syntax

UsrMgr_ExistLocalUserAccount(sUserName) As Boolean

 

Parameters

sUserName (String)

The name of the User


Example

 

VBScript
If bStatus Then bStatus = UsrMgr_ExistLocalUserAccount("CapaInstaller")
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup

 

Available from

CapaInstaller 5.1, build 104

  • No labels