lsusergrp
Use the lsusergrp command to display a list of the user groups that is created on the system.
Syntax
Parameters
- -nohdr
- By default, headings are displayed for each column of data in a
concise style view, and for each item of data in a detailed style view. The
-nohdr parameter suppresses the display of these headings.Note: If no data is displayed, headings are not displayed.
- -delim delimiter
- By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum width of each item of data. In
a detailed view, each item of data has its own row, and if the headers are displayed, the data
is separated from the header by a space. If you enter
-delim :on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - -filtervalue attribute=value
- Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
- -filtervalue?
- Displays the valid filter attributes for the
-filtervalue
attribute=value parameter:
role_idrole_nameremote
- usergrp_name | usergrp_id
- Specifies the ID or name of the user group to view. If you do not specify an ID or name, all groups are displayed.
Description
This command displays a list of user groups that is created on the system.
An invocation example
lsusergrp
The resulting output
id name role remote owner_id owner_name
0 SecurityAdmin SecurityAdmin no
1 Administrator Administrator no
2 CopyOperator CopyOperator no
3 Service Service no
4 FlashCopyAdmin FlashCopyAdmin no
5 Monitor Monitor no
6 RestrictedAdmin RestrictedAdmin no
7 usergrp1 Administrator no 1 tenant1
8 usergrp2 Administrator no 2 tenant2
9 usergrp3 Administrator no 3 tenant3
10 usergrp4 Administrator no
An invocation example
lsusergrp 8
The resulting output
id 8
name usergrp3
role Administrator
remote no
owner_id 3
owner_name tenant3
