Use the lsusergrp command to display a list of the user groups that
is created on the system.
Syntax
lsusergrp [ -nohdr ] [ -delimdelimiter ] [ -filtervalueattribute=value ] [ -filtervalue? ] [ { usergrp_name | usergrp_id } ]
Parameters
- -nohdr
- (Optional) 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 there is no data to be displayed,
headings are not displayed.
- -delimdelimiter
- (Optional) 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.
- -filtervalueattribute=value
- (Optional) Specifies a list of one or more filters. Only objects with a value that matches
the filter attribute value are displayed.
Note: Some filters allow the use of a wildcard when you enter the command. The following
rules apply to the use of wildcards with the
Lenovo Storage V series CLI:
- -filtervalue?
- (Optional) Displays the valid filter attributes for the -filtervalueattribute=value parameter:
- usergrp_name | usergrp_id
- (Optional) 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
0 SecurityAdmin SecurityAdmin yes
1 Administrator Administrator no
2 CopyOperator CopyOperator no
3 Service Service yes
4 Monitor Monitor no
5 support Service no