Is there a way to programatically list the current users on a server?
Accepted answer
I did not get the question right. Above is to find the available users. I am not aware of how to find the users that are logged in. There have been numerous questions in your direction here. There seems to be a lot of demand to be able to find that information out. I have not seen a solution yet. There are several work items asking ffor better logging and other capabilities in this area.
Comments
Thanks Ralph. My question was a bit overloaded in looking for both the total users and those active.
Ruby Andrews created me a great little cURL script to get the users per project. Now I need to try it out.
Hi Ginny,
If you want all users then you can
- export them with repotools-jts to CSV lik I do in http://rsjazz.wordpress.com/2012/10/12/changing-the-jazz-user-id-using-the-rtc-plain-java-client-libraries/ .
- Use this API too http://rsjazz.wordpress.com/2013/01/08/maintaing-user-photos-with-the-plain-java-client-libraries/
There are more examples on that blog. And you should also be able to get at the licenses. What I haven't explored yet is how to ask the server if the user is logged in.