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

is it possible to assign roles to users through command line ?

 Hi,

Whenever I want to assign or remove a role, I don't want to access RTC client and instead, I would like to perform this through command line.

Can we do that using either RTC command line(scm/lscm) or through RestAPI ?

Thanks,
Ras Dama.

0 votes



One answer

Permanent link

 You can write your own code to do that. See the snippets in the Plain Java Client Libraries. https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ shows how to read the roles, I believe one of the snippets assigns a role.

0 votes

Comments

And, no, there is no out of the box admin tool for that. 

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
× 12,023

Question asked: Mar 03 '20, 8:12 p.m.

Question was seen: 953 times

Last updated: Mar 04 '20, 3:25 a.m.

Confirmation Cancel Confirm