modify-user
Modify an internal user.
Syntax:
shell
sfiler-admin [options] modify-user [command options]
Command options | Required/Optional | Description |
---|---|---|
-sa | Optional | True or False. If true, the user is a service account whose password never expires and multi-factor authentication (MFA) is always disabled. Default is false |
-d | Optional | The ID of the domain of the user to modify. Default: 1 |
-dc | Optional | Name of the default community for this user. This field is optional. *Important: This user must also be assigned to this default community for this configuration take effect (see command:assign-user-to-community) |
-e | Required | Email address |
-ed | Optional | User account expiration date. Use this format : yyyy-mm-dd (ex: 2014-12-31) |
-f | Optional | Full name (ex: Jane Doe) |
-https | Optional | True or False. If true, the user will be configured for HTTPS transfers instead of the applet. Default is to use the applet for transfers. |
-l | Optional | User language (en, fr, es, etc.) |
-n | Required | Username (ex: jdoe) |
-ne | Optional | True or False. If true, the user will not be able to modify his own profile. Default is false |
-no-mail | Optional | True or False. If true, mail notification is DISABLED for this user. Default is false |
-pk | Optional | Path to public key file. This field is optional. |
-pw | Optional | Initial password for the new user. The user will need to change it on his first login (if not a batch user). |
-rename | Optional | The new name(login id) of the user |
-rn | Optional | Reference number, this field is informational and not used by S-Filer Portal. |
-uccp | Optional | True or False. If true, the user will not be able to change his own password. Default is false. |
-uq | Optional | A numerical value representing the number of megs allowed for the user's quota. This quota is used for the user himself as well as all the shared community he manages. Note that the share functionality needs to be enabled for this value to be usable. |
Example:
shell
sfiler-admin.exe -l sfiler-master -p 012345 -s https://www.sfiler.com/sfiler/server/ modify-user -n "my-user" -e "myuser@okiok.com" -dc "my-community" -ed "2017-01-01"