user create
The user create command creates a new user and assigns roles to it.
Usage
user create --u UserName --p Password --d Description --e EmailAddress --r RolesRequired | Argument | Description |
---|---|---|
Yes | --u UserName | Specifies the name of the new user. |
Yes | --p Password | Specifies the password for the new user. |
No | --d Description | Specifies a description for the user. If the description contains spaces, enclose the description in quotes. |
No | --e EmailAddress | Specifies the email address of the new user. |
No | --r Roles | Specifies the roles for the user. Separate multiple roles with a comma. Do not use spaces. If the role name contains a space, enclose the role in quotes. |
Example
This example creates a new user named allan12, assigns a password of myPassword1, a description of Allan P. Smith, an email of allan@example.com, and assigns two roles, USBanking and California Users.
user create --u allan12 --p myPassword1 --d "Allan P. Smith" --e allan@example.com --r USBanking,"California Users"