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
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
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 )
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 )
Comments
Guido Schneider
Aug 17 '16, 3:40 p.m.Donald Nong
Aug 17 '16, 9:53 p.m.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.
Nicholas Krantz
Aug 18 '16, 9:30 a.m.Yes, I have local admin rights but I think the repotool does exactly what I need to do