Skip to content

UsrMgr\_CreateLocalUser

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

UsrMgr_CreateLocalUser(sUserName, sFullName, sPassword, sDescription) As Boolean

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

VBScript

If bStatus Then bStatus = UsrMgr_CreateLocalUser("Username", "Full name", "Password", "Description")

Scripting Guidelines

UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup