Create a script called print_groups.sh that will display the list of groups for which the login, contained in the environment variable FT_USER, is a member. code example
Example: FT_USER
$ groups $FT_USER | tr ' ' ','
$ groups $FT_USER | tr ' ' ','