Create Local User

Creates a local user account.

Privileges

Elevated – Run as administrator.

Input Parameters

Name Type Required Description
User Name String Yes Name of the new user.
Password String Yes The password of the new user.
Description String Yes The description of the new user.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
User Name String Yes Local Admin for MSP purposes
Password String Yes JGalt
Description String Yes Password!@#