createUser CLI command
Use the createUser command to create a new local user. Remote authentication can be either enabled or disabled.
Syntax
createUser -name "<name>" -role <role> -sendToEmail {yes -email <email> | no -tempPass <password>} -ssl
Parameters
- -name "<name>"
- (Required.) A name for the user. The double quotation marks are required.
- -role <role>
- (Required.) The user's role.
- -sendToEmail
- (Required.) The options are:
yes -email <email>
no -tempPass <password>
- -ssl
- Required if SSL (HTTPS) is enabled.
Example commands
The following example creates a local user account. The user's password (L0gM3InN0w
) is defined in the command.
createUser –name "testUser" –role Service –sendToEmail no –tempPass L0gM3InN0w
The following example creates a local user account, with a system-generated password being sent to the user's email account.
createUser –name "testUser" –role Service –sendToEmail yes –email testUser@mycompany.com
Example output
User testUser was created successfully.