Access Add User Subcommand

access: Managers

Adds the specified local user to the specified group with the specified user ID and password.

access add user {-p | --password} PASSWORD {-g | --group} GROUP
{-u | --user} USERNAME

Arguments Description
{-p | --password} Specifies the password for the new user. The password is optional and if not specified, a prompt displays requesting confirmation.
{-g | --group} Specifies the group to which the new user will belong.
{-u | --user} Specifies the name of the new user to add. This argument is repeatable to add multiple users at one time.

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_InvalidArgument 4

One or more arguments were incorrect or invalid. The group specified with -g is an invalid local SP administrative group or the length of the username or password exceeds the maximum length.

NWSE_NoPermission 6 Not authorized to perform this operation.
NWSE_Exist 19 The user already exists.

 

Related Topics

System Management Commands

Access Command