lsusergrp

Use the lsusergrp command to display a list of the user groups that is created on the system.

Syntax

Read syntax diagramSkip visual syntax diagram lsusergrp usergrp_nameusergrp_id

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.
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 table provides the attribute values that can be displayed as output view data.

Table 1. lsusergrp output
Attribute Description
id Indicates the ID of the user group.
name Indicates the name of the user group.
role Indicates the role of the user group.
remote Indicates whether users in the user group are authenticated by a remote service.
owner_id Indicates the ownership group ID of the user group.
owner_name Indicates the ownership group name of the user group.
multi_factor Indicates whether the users of this user group should be prompted for second factor authentication. Value can be yes or no.
password_sshkey_required Indicates whether the users of this user group should provide both password and SSH public key during authentication. Value can be yes or no.
gui_disabled Indicates whether the user currently logged in is a member of a user group with GUI access disabled. Value can be yes or no.
cli_disabled Indicates whether the user currently logged in is a member of a user group with CLI access disabled. Value can be yes or no.
rest_disabled Indicates whether the user currently logged in is a member of a user group with REST-API access disabled. Value can be yes or no.
cim_disabled Indicates whether the user currently logged in is a member of a user group with CIMOM access disabled. Value can be yes or no.