Skip to content

assign-user-to-group ​

Assigns an existing user to an existing group.

Syntax:

shell
sfiler-admin [options] assign-user-to-group [command options]
Command optionsRequired/OptionalDescription
-aOptionalTrue or False. Is the user an administrator of the group. Default: False
-dOptionalThe ID of the domain of the user. Default: 1
-gRequiredThe name of the group.
-nRequiredThe name(login id) of the user.

Example:

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