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 Scripting Library
Syntax
Section titled “Syntax”UsrMgr_CreateLocalUser(sUserName, sFullName, sPassword, sDescription) As Boolean
Parameters
Section titled “Parameters”sUserName (String)
The name of the User
sFullName (String)
The Users full name
sPassword (String)
The Users password
sDescription (String)
A description of this user
Example
Section titled “Example”VBScript
If bStatus Then bStatus = UsrMgr_CreateLocalUser("Username", "Full name", "Password", "Description")Related functions
Section titled “Related functions”UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup