ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service getxxbyyy getgrlist

    Gets the group list by using the user name.

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

    Description

    The ` vserver services name-service getxxbyyy getgrlist ` gets the list of groups to which user belongs. This command will go through all the sources configured for the group database in the name servers ns-switch configuration.

    Parameters

    -node {<nodename>|local} - Node Name

    Use this parameter to specify the node where the lookup will be performed

    -vserver <vserver name> - Vserver Name

    Use this parameter to specify the Vserver where the lookup will be performed

    -username <text> - User Name

    Use this parameter to retrieve the list of groups where the given user is a member

    [-use-cache <true>] - Use Locally-Cached Values

    If set to true , locally-cached values will be used. The default value is false .

    Examples

    The following example requests the grouplist for the given username

    cluster1::*> vserver services name-service getxxbyyy getgrlist -node cluster1-01 -vserver vs1 -username root
          pw_name: root
          Groups: 5
    Top of Page