HP 3PAR InForm OS 3.1.1 Command Line Interface Reference

showrole
DESCRIPTION
The showrole command displays information about rights assigned to roles in the system. Without
any argument, showrole displays the roles currently defined.
SYNTAX
showrole [<role_name | pattern ...>]
showrole -listrights
AUTHORITY
Any role in the system.
OPTIONS
-listrights
Lists the rights available in the system.
SPECIFIERS
<role_name | pattern>...
Specifies that the role name matching the specified glob-style pattern will have their rights displayed.
This specifier can be repeated. This specifier is not required.
RESTRICTIONS
If both -listrights and <role_name> patterns are provided, the -listrights option takes
precedence and only information related to rights will be displayed.
EXAMPLES
The following example displays the role names in the system:
cli% showrole
---Role---
browse
edit
service
super
create
basic edit
3par ao
3par rm
The following example displays the rights assigned to the browse role:
cli% showrole browse
---Role--- ----Right---- ---------Right_Description----------
browse sshkey_remove Remove users public SSH keys
sshkey_set Set the public SSH key for a user
user_set Set a user properties
vv_update Update snapshosts with new snapshots
460 Show Commands