HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)
showuser
DESCRIPTION
The showuser command displays information about one or all users, including the username,
authority level, and system resources to which a given user has access.
The showuser command shows account information for local users (those created with the
createuser command) or shows the SSH key information for local and LDAP users (enabled by the
setauthparam command).
SYNTAX
The syntax for the showuser command can be the following:
• showuser [-oneline] [<user_name>]
• showuser -k
AUTHORITY
Any role in the system.
OPTIONS
-k
Show users who have set a public SSH key.
-oneline
Shows all information about a user on one line.
SPECIFIERS
<user_name>
Specifies your login name, using up to 31 characters. This specifier is not required on the command
line. If no specifier is used, information about all users is displayed.
RESTRICTIONS
Because the output is only for local users and is further limited when the user is at the Browse or
Service authority level, an LDAP user cannot see any other user account information. The
showuserconn command can be used to the see the role levels of the current user and whether
they are local or LDAP.
EXAMPLES
cli% showuser Joe
Username Domain Privilege Default
Joe all super N
The previous example indicates user Joe being a member of all domains. Valid output includes
all, or <domain_name>. The columns are identified as follows:
• Username. Your user name.
• Domain. The domain to which the user belongs.
• Privilege. The role level required to run the command.
• Default. Indicates whether the domain is the default domain of the user.
showuser 497