Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

1

0 votes

Comments
- Do you have local user administration or are you LDAP integrated (or other SSO mechanism)
- what application server are you using? WAS, Liberty, Tomcat? 

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


Accepted answer

Permanent link
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

0 votes

Comments

 Thank you!


One other answer

Permanent link
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 )

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Aug 15 '16, 1:08 p.m.

Question was seen: 2,532 times

Last updated: Aug 18 '16, 9:33 a.m.

Confirmation Cancel Confirm