7.7.12.29 LIST ROLE

Purpose

The LIST ROLE command displays the specified attributes for a role.

Syntax

LIST ROLE [name | filters] 
          [ATTRIBUTES {ALL | attr1 [,attr2]...}] [DETAIL] 

Usage Notes

  • Use name to display information about a specific role.
  • Use an expression in place of filters to display information about the roles that satisfy the expression.
  • Use the ATTRIBUTES keyword to display information about one or more attributes of the roles. The ALL option can be used to display all attributes.
  • Use the keyword DETAIL to format the output as an attribute on each line, with an attribute descriptor preceding each value.

Example 7-205 Displaying Roles

This example shows how to display detailed information about all roles.

CellCLI> LIST ROLE DETAIL
         name:                   admin
         privileges:             object=all objects, verb=all actions, attributes=all attributes, options=all options

         name:                   gd_monitor
         privileges:             object=griddisk, verb=0, attributes=all attributes, options=all options
                                 object=griddisk, verb=list, attributes=all attributes, options=all options

Example 7-206 Displaying Roles Using an Expression

This example shows how to display roles using an expression.

CellCLI> LIST ROLE WHERE name>'ad' AND name<'ba'
         admin