Skip to content

add-group ​

Adds a new group.

Syntax:

shell
sfiler-admin [options] add-group [command options]
Command optionsRequired/OptionalDescription
-nRequiredGroup name (ex: internal-employees)
-fOptionalDescription (ex: Internal employees). Default: the group name
-upOptionalHow this group affects the permission of its members to upload files (possible values are: ALLOW, DENY, UNSPECIFIED). Default: ALLOW
-dpOptionalHow this group affects the permission of its members to download files (possible values are: ALLOW, DENY, UNSPECIFIED). Default: ALLOW
-aupOptionalHow this group affects the permission of its members to send files to email recipients with the "Quick Send" feature (possible values are: ALLOW, DENY, UNSPECIFIED). Default: UNSPECIFIED
-scpOptionalHow this group affects the permission of its members to create shares (possible values are: ALLOW, DENY, UNSPECIFIED). Default: UNSPECIFIED
-rfpOptionalHow this group affects the permission of its members to request files (possible values are: ALLOW, DENY, UNSPECIFIED). Default: UNSPECIFIED
-tOptionalTheme to use for users of this group. The empty value (default) uses the default theme of the web interface. To set an empty value, use -t "".
-asOptionalTrue or False: Set to True to allow the group to be used as sender when sending a file to an email recipient. Default: False
-snOptionalThe group sender name to use in the email when the group is used to upload a file. Required when -as is True.
-mpOptionalThe MFA policy (possible values are: ENFORCED, OPTIONAL, NONE). Default: NONE

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ add-group -n "my-group" -f "My group description" -aup ALLOW -rfp DENY -mp ENFORCED
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ add-group -n "my-group" -f "My group description" -aup ALLOW -rfp DENY -mp ENFORCED