UsrMgr_CreateLocalUser
Description
Section titled “Description”Creates a user on the local computer
Use * as password if you want to use an already encrypted password specified by CapaInstaller.
See more about the password encryption feature Using passwords in CapaInstaller VB Scripting Library
Syntax
Section titled “Syntax”UsrMgr_CreateLocalUser(sUserName, sFullName, sPassword, sDescription) As Boolean
Parameters
Section titled “Parameters”sUserName (String)
Section titled “sUserName (String)”The name of the User
sFullName (String)
Section titled “sFullName (String)”The Users full name
sPassword (String)
Section titled “sPassword (String)”The Users password
sDescription (String)
Section titled “sDescription (String)”A description of this user
Example
Section titled “Example”If bStatus Then bStatus = UsrMgr_CreateLocalUser("Username", "Full name", "Password", "Description")Related functions
Section titled “Related functions”UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup Constants Package Property Variables