ONTAP 9.15.1 commands

vserver cifs users-and-groups local-group remove-members

Remove members from a local group

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

Description

The vserver cifs users-and-groups local-group remove-members command removes members from a local group.

Parameters

-vserver <vserver name> - Vserver

This specifies the name of the Vserver.

-group-name <CIFS name> - Group Name

This specifies the name of the local group.

-member-names <CIFS name>,…​ - Names of Users or Active Directory Groups to be Removed

This specifies the list of local users, Active Directory users, or Active Directory groups to be removed from a particular local group.

Examples

The following example removes the local users "CIFS_SERVER\u1" and "CIFS_SERVER\u2" from the local group "CIFS_SERVER\g1".

cluster1::> vserver cifs users-and-groups local-group remove-members -vserver vs1 -group-name CIFS_SERVER\g1 -member-names CIFS_SERVER\u1,CIFS_SERVER\u2
Top of Page