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 VB Scripting Library

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

The name of the User

The Users full name

The Users password

A description of this user

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

Scripting Guidelines

UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup Constants Package Property Variables