FranZ Posted April 25, 2017 Report Share Posted April 25, 2017 I want to add my User to some general (site-wide) Groups (not Project Groups) via the API, similar to what I would do by hand. But I haven't found many examples dealing with Groups. What is the best way to find out all the groups a User belongs to? It doesn't seem that I can find out from the User. Do I need to go through all the Groups and check to see if my User is a member of that group? Are there any examples of dealing with groups via the API? I want to do two things: 1) Print the user name and the groups that user belongs to (not Project Groups, just general Groups). % print_my_groups.py -u franz User Groups ---- ------ franz Project Manager, User 2) Add the user to a specified general (site-wide) Group. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.