Accessing Repository Permissions via REST or JavaScript
I'm working on a script to export all users from RQM into CSV through JavaScript. I have a lot of details already but I'm looking for a way to get the Repository Permsissions (JazzUsers, JazzGuests, JazzAdmins, JazzProjectAdmins) of the users using REST/OSLC/Javascript. If anyone has an idea or has done this before, any input is helpful.
Thanks
|
Accepted answer
Hi,
In general RQM users are the users who are present in the JTS server, you can try use the below command and export users into CSV repotools-jts.bat -exportUsers toFile=C:\test.csv repositoryURL=https://hostame:9443/jts regards, Somashakar Nicholas Krantz selected this answer as the correct answer
|
One other answer
See also Analyzing Project Members and Roles
Using repotools-jts has its uses, but only if one is able to access the machine hosting the application. The above is client based and can give more information ( i.e. project/team roles ) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Guido is right. The repository role is determined by the application server during the log on process. Unless a user is logged on, you will not know what role she has from the application point of view.
Yes, I have local admin rights but I think the repotool does exactly what I need to do