To view a list of users, the user roles, and user domain associations, issue the
showuser
command.
For more information about the
showuser
command, see the HP 3PAR Command Line Interface
Reference.
•
To display all the users of a system, issue the
showuser
command.
•
To display information for a specific user, issue the
showuser <user_name>
command,
where
<user_name>
is the name of the user.
Removing Users
Removing a user permanently deletes the user account from the system.
To remove a user from the system, issue the
removeuser <user_name>
command, where
<user_name>
is the name of the user.
Adding Users to a Domain
To add a user to an existing domain, issue the
setuser -adddomain <domain_name>:<role>
<user_name>
command, where:
•
<domain_name>
is the name of the domain to which you are adding the specified user.
•
<role>
is the role assigned to the user. Permitted values for
<role>
are
browse
and
edit
.
•
<user_name>
is the name of the user being added to the specified domain.
NOTE:
A user can belong to a maximum of 32 domains. For additional details about domains,
see the HP 3PAR StoreServ Storage Concepts Guide.
Removing Users From a Domain
To remove a user from a domain, issue the
setuser -rmdomain <domain_name>
<user_name>
command, where:
•
<domain_name>
is the name of the domain from which the specified user is being removed.
•
<user_name>
is the name of the user being removed from the specified domain. You can
specify
all
in place of a specific domain name to remove the user from all domains.
Setting a User’s Default Domain
A user’s default domain is the domain that the user will access upon each working CLI session.
NOTE:
Prior to setting a specific domain as a user’s default, the user must previously have been
assigned accessibility within that domain.
To set a user’s default domain, issue the
setuser -defaultdomain <domain_name>
<user_name>
command, where:
•
<domain_name>
is the name of the domain which is being set as the default.
•
<user_name>
is the name of the user for whom you are assigning a default domain.
For information about default domains, see the HP StoreServ Storage Concepts Guide. For detailed
information about the
setuser
command, see the HP 3PAR Command Line Interface Reference.
Removing a User’s Default Domain
To remove a user’s default domain, issue the
setuser -defaultdomain -unset
<user_name>
command, where
<user_name>
is the name of the user for whom you are removing
a default domain.
20
Managing User Accounts and Connections