HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)

setuser
DESCRIPTION
The setuser command sets your user properties.
SYNTAX
setuser [options <arg>] <user>
AUTHORITY
Super, Edit, Browse
Any role granted the user_setany right can add, remove, and set default domains for any
user.
Any role granted the user_setown right can only set their own default domain.
OPTIONS
f
Specifies that the command is forced. No confirmation is requested before executing the command.
-adddomain <domain>:<privilege>[,<domain>:<privilege>...]
Adds a specified user (<user>) to the specified domain (<domain>) at the specified role level
(<privilege>). Permitted values for <priv> are Super, Edit, Browse and Service.
-rmdomain <domain_name_or_pattern>[,<domain_name_or_pattern>...]
Remove the user from each domain with a name that matches one or more of the
<domain_name_or_pattern> options.
-defaultdomain <domain>
Changes the default domain of the user to a specified domain. You must already have permission
set in the domain. Specify the unset option to specify no default domain. The Browse and Edit
authorities for this command and option can be used by any user with their own user name.
SPECIFIERS
<user>
Specifies the name of the user.
RESTRICTIONS
The -adddomain and -rmdomain options cannot be used on a user that is currently logged in.
Existing sessions can be terminated with the removeuserconn command.
EXAMPLES
In the following example, user 3paruser is permitted the edit level role in the domain
Engineering:
cli% setuser -adddomain Engineering:edit 3paruser
NOTES
None.
setuser 341