ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver cifs users-and-groups local-group show-members

    Display local groups' members

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

    Description

    The vserver cifs users-and-groups local-group show-members command displays members of a local group. The members can be local or Active Directory users or groups.

    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 ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-vserver <vserver name>] - Vserver

    If this parameter is specified, the command displays group members of local groups that match the specified Vserver name.

    [-group-name <CIFS name>] - Group Name

    If this parameter is specified, the command displays group members of local groups that match the specified group name.

    [-member <CIFS name>,…​] - Member Name

    If this parameter is specified, the command displays group members that match the specified member name. The name can be that of a local user, Active Directory user, or Active Directory group.

    Examples

    The following example displays members of local groups associated with Vserver "vs1".

    cluster1::> vserver cifs users-and-groups local-group show-members -vserver vs1
    Vserver        Group Name                   Members
    -------------- ---------------------------- ------------------------
    vs1            BUILTIN\Administrators       CIFS_SERVER\Administrator
                                                AD_DOMAIN\Domain Admins
                                                AD_DOMAIN\dom_grp1
                   BUILTIN\Users                AD_DOMAIN\Domain Users
                                                AD_DOMAIN\dom_usr1
                   CIFS_SERVER\g1               CIFS_SERVER\u1
    6 entries were displayed.
    Top of Page