vserver cifs users-and-groups local-user rename

Rename a local user

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

Description

The vserver cifs users-and-groups local-user rename command renames a local user. The new user name must remain in the same domain as the old user name.
The new user name must meet the following criteria:

Parameters

-vserver <vserver name> - Vserver
This specifies the name of the Vserver.
-user-name <CIFS name> - User Name
This specifies the user name.
-new-user-name <CIFS name> - New User Name
This specifies the new user name.

Examples

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