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

Is it possible to get the role of the logged-in user in javascript ?

 Can we access roles of the logged-in user in a conditional/ validation / calculated value script in rtc ?

0 votes


Accepted answer

Permanent link

 Hi Anmol,


No, you can not because the API for Javascript does not provide such a endpoint.

Anmol Rattan selected this answer as the correct answer

1 vote

Comments

I agree, there is no public documentation for how to do that in JavaScript. It is possible using the Java API as explained here: https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/

2 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
× 6,122

Question asked: Jun 02 '20, 3:02 a.m.

Question was seen: 1,088 times

Last updated: Jun 02 '20, 7:31 a.m.

Confirmation Cancel Confirm