Usergroup user list
Hi, how can I get the list of users that belongs to a specific usergroup?
I tried to go to admin/groups and check the list of users under the group, but it doesn't show all of users that belongs to the usergroup.
Heya Gianpaolo - the way our list pages are set up, if the list of users is pretty long then we provide the 'search to refine' functionality. While this helps when adding users from long lists, once they're in the group, they should be shown without searching, you're right. We'll file this as a bug and get to work on it. Thanks for pointing this out! 🐞
Hey Gianpaolo here is a python script that uses our public APIs to list out all users and the groups they belong to in a comma separated list. Unzip the script and SCP it to your thoughtspot environment. The script requires 3 arguments:
- your thoughtspot host name or IP - i.e. https://analytics.thoughtspot.com
- username - the username you use to login to thoughtspot (must have administrative privileges)
- password - password for your thoughtspot login
there is an optional 4th argument called --csv that you can use to write the output to a csv file called ts_group_user_metadata.csv
The script can be called like this
python get_group_users.py -t <hostname> -u <username> -p <password>
let me know if you have any questions.Reply