It's all about the answers!

Ask a question

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


Rakesh Dama (15212) | asked Mar 03 '20, 8:12 p.m.

 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.

One answer



permanent link
Ralph Schoon (63.2k33646) | answered Mar 04 '20, 3:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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.


Comments
Ralph Schoon commented Mar 04 '20, 3:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

Your answer


Register or 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.