Skip to content

assign-group-to-community ​

Assigns an existing group to an existing community.

Syntax:

shell
sfiler-admin [options] assign-group-to-community [command options]
Command optionsRequired/OptionalDescription
-cRequiredThe name of the community.
-gRequiredThe name of the group.
-aaurOptionalAutomatic assignment of the users of the group to the community: as members, as administrators, or no automatic assignment (possible values are: MEMBER, ADMINISTRATOR, NONE). Default: NONE

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ assign-group-to-community -g "my-group" -c "my-community"
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ assign-group-to-community -g "my-group" -c "my-community"