assign-user-to-community
Assigns an existing user to an existing community.
Syntax:
shell
sfiler-admin [options] assign-user-to-community [command options]| Command options | Required/Optional | Description |
|---|---|---|
| -a | Required | True or False. Is the user an administrator of the community. |
| -c | Required | The name of the community. |
| -d | Optional | The ID of the domain of the user to modify. |
| -n | Required | The name(login id) of the user. |
Example:
shell
sfiler-admin.sh -l sfiler-master -p 012345 -s https://www.sfiler.com/sfiler/server/ assign-user-to-community -n "my-user" -c "my-community" -a Trueshell
sfiler-admin.exe -l sfiler-master -p 012345 -s https://www.sfiler.com/sfiler/server/ assign-user-to-community -n "my-user" -c "my-community" -a True