The ft_set_user_groups
script is used to add a group to a specific user on the specified Fluid Topics portal.
Command template:
ft_set_user_groups -uid $USER_ID -g $GROUP --ft-login $FT_ADMIN_LOGIN --ft-password [$FT_ADMIN_PASSWORD]] --ft-url $FT_PORTAL_URL [--ft-cert-file $CERTFILE_PATH] [--ft $FT_SAVED_TENANT][-f] [-v] [-h]
Command example:
ft_set_user_groups -uid 12345678-5e7b-4deb-b4a9-5f9922b76f83 -g GROUP1 --ft-url myfluidtopics.net --ft-login admin@plop.net --ft-password
Command arguments:
-uid
: Expects user identifier (retrieved usingft_list_users
). Can also be written--user-id
.-r
: Expects user role.--ft-url
: Expects the URL of the Fluid Topics portal.--ft-login
: Expects the login of a user on the Fluid Topics portal with ADMIN role.--ft-password
: Expects the password of a user on the Fluid Topics portal with ADMIN role.--ft-cert-file
: Expects the path of the security certfile.--ft
: Expects the saved tenant.-v
: Activates verbose mode. Can also be written--verbose
.-h
: Displays the help and lists all available optional arguments for the command. Can also be written--help
.
The script is available in the antidot-fluidtopics-reply
package.