Skip to content

add-user

Syntax:

shell
sfiler-admin [options] add-user [command options]
Command optionsRequired/OptionalDescription
-nRequiredUsername (ex: jdoe)
-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
-dcOptionalName of the default community for this user *Important: This user must also be assigned to this default community for this configuration to take effect (see command: assign-user-to-community)
-eRequiredEmail address
-edOptionalUser account expiration date. Format : yyyy-mm-dd
-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.)
-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.
-pwOptionalInitial password for the new user. The user will need to change it on his first login (if not a batch 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/ add-user -n "my-user" -pw "passw0rd" -e "my-user@okiok.com" -dc "my-community" -ed "2027-01-01" -ne True -uccp True