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
-aRequiredTrue or False. Is the user an administrator of the group.
-dOptionalThe ID of the domain of the user to modify, Default: 1.
-gRequiredThe name of the group.
-nRequiredThe name(login id) of the user.

Example:

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