vserver services name-service cache group-membership show

Display group list

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The vserver services name-service cache group-membership show command displays the cached group membership information of the users.

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
Use this parameter to display detailed information about the cached group membership details of the user.
[-vserver <vserver name>] - Vserver
Use this parameter to specify the Vserver for which the group membership entries need to be displayed.
[-user <text>] - User Name
Use this parameter to display information only about the cached group membership entries that have the specified user name.
[-group <integer>] - Gid
Use this parameter to display information only about the cached group membership entries of the users that have the specified primary group identifier or GID.
[-ngroups <integer>] - Number of Groups
Use this parameter to display information only about the cached group membership entries of the users who belong to the specified number of groups.
[-groups <integer>, ...] - Group List
Use this parameter to display information only about the cached group membership entries of the users who belong to the specified group identifiers or GIDs.
[-create-time <MM/DD/YYYY HH:MM:SS>] - Create Time
Use this parameter to display information only about the group membership entries that were cached at the specified time.
[-is-partial {true|false}] - Is Partial Result
Use this parameter to display information only about the group membership entries that have the specified value for partial result. The Value true displays only the cached entries that have partial result and the value false displays only the cached entries that do not have partial result.

Examples

The following example displays the group membership details of the users for all the vservers:
cluster1::> vserver services name-service cache group-membership show

The following example displays all the group membership details of the users for Vserver vs0:

cluster1::> vserver services name-service cache group-membership show -vserver vs0