vserver services name-service getxxbyyy getgrbyname
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Gets the group members by using the group name.
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The ` vserver services name-service getxxbyyy getgrbyname ` gets the group members by using the group name.
Parameters
-node {<nodename>|local}
- Node Name (privilege: advanced)-
Use this parameter to specify the node where the lookup will be performed
-vserver <vserver name>
- Vserver Name (privilege: advanced)-
Use this parameter to specify the Vserver where the lookup will be performed
-groupname <text>
- Group Name (privilege: advanced)-
Use this parameter to specify the Group Name for which the members are requested
[-show-source {true|false}]
- Source used for Lookup (privilege: advanced)-
Use this parameter to specify if source used for lookup needs to be displayed
[-use-cache <true>]
- Use Locally-Cached Values (privilege: advanced)-
If set to
true
, locally-cached values will be used. The default value isfalse
.
Examples
The following example requests group information for the given group name
cluster1::*> vserver services name-service getxxbyyy getgrbyname -node cluster1-01 -vserver vs1 -groupname daemon -show-source false name: daemon gid: 1