The ft_set_user_roles
script is used to assign a role to a specific user on the specified Fluid Topics portal.
Command template:
ft_set_user_roles -uid $USER_ID -r $ROLE --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_roles -uid 12345678-5e7b-4deb-b4a9-5f9922b76f83 -r SAVED_SEARCH_USER --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
.-g
: Expects user's group.--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.