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

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 here

 

Syntax

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

 

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

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

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup

  • No labels