vserver cifs users-and-groups local-group add-members
Contributors
Suggest changes
Add members to 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 add-members
command adds members to 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 Added-
This specifies the list of local users, Active Directory users, or Active Directory groups to be added to a particular local group.
Examples
The following example adds a local user "CIFS_SERVER\loc_usr1" and an Active Directory group "CIFS_SERVER\dom_grp2" to the local group "CIFS_SERVER\g1".
cluster1::> vserver cifs users-and-groups local-group add-members -vserver vs1 -group-name CIFS_SERVER\g1 -member-names CIFS_SERVER\loc_usr1,AD_DOMAIN\dom_grp2