assign-group-to-community
Assigns an existing group to an existing community.
Syntax:
shell
sfiler-admin [options] assign-group-to-community [command options]| Command options | Required/Optional | Description |
|---|---|---|
| -c | Required | The name of the community. |
| -g | Required | The name of the group. |
| -aaur | Optional | Automatic 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"