Skip to content

modify-user

Modify an internal user.

Syntax:

shell
sfiler-admin [options] modify-user [command options]
Command optionsRequired/OptionalDescription
-saOptionalTrue 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
-dOptionalThe ID of the domain of the user to modify. Default: 1
-dcOptionalName 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)
-eRequiredEmail address
-edOptionalUser account expiration date. Use this format : yyyy-mm-dd (ex: 2014-12-31)
-fOptionalFull name (ex: Jane Doe)
-httpsOptionalTrue or False. If true, the user will be configured for HTTPS transfers instead of the applet. Default is to use the applet for transfers.
-lOptionalUser language (en, fr, es, etc.)
-nRequiredUsername (ex: jdoe)
-neOptionalTrue or False. If true, the user will not be able to modify his own profile. Default is false
-no-mailOptionalTrue or False. If true, mail notification is DISABLED for this user. Default is false
-pkOptionalPath to public key file. This field is optional.
-pwOptionalInitial password for the new user. The user will need to change it on his first login (if not a batch user).
-renameOptionalThe new name(login id) of the user
-rnOptionalReference number, this field is informational and not used by S-Filer Portal.
-uccpOptionalTrue or False. If true, the user will not be able to change his own password. Default is false.
-uqOptionalA 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"