vserver cifs users-and-groups local-group rename

Rename 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 rename command renames a local group. The new group name must remain in the same domain as the old group name. The new group name must meet the following criteria:

Parameters

-vserver <vserver name> - Vserver
This specifies the name of the Vserver.
-group-name <CIFS name> - Group Name
This specifies the local group's name.
-new-group-name <CIFS name> - New Group Name
This specifies the local group's new name.

Examples

The following example renames the local group "CIFS_SERVER\g_old" to "CIFS_SERVER\g_new" on Vserver "vs1".
cluster1::> vserver cifs users-and-groups local-group rename -group-name CIFS_SERVER\g_old -new-group-name CIFS_SERVER\g_new -vserver vs1