ONTAP 9.14.1 commands

vserver cifs users-and-groups local-user modify

Modify a local user

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


The vserver cifs users-and-groups local-user modify command modifies attributes of a local user.


-vserver <vserver name> - Vserver

This specifies the name of the Vserver.

-user-name <CIFS name> - User Name

This specifies the user name.

[-full-name <TextNoCase>] - Full Name

This specifies the user’s full name. If the full name contains a space in the name, enclose it within double quotation marks

[-description <TextNoCase>] - Description

This specifies a description for this local user. If the description contains a space, enclose the parameter in quotation marks.

[-is-account-disabled {true|false}] - Is Account Disabled

This specifies if the user account is enabled or disabled. Set this parameter to true to disable the account. Set this parameter to false to enable the account.


The following example modifies the full name of the local user "CIFS_SERVER\u1".

cluster1::> vserver cifs users-and-groups local-user modify -user-name CIFS_SERVER\u1 -full-name "John Smith" -vserver vs1
Top of Page