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 ? |
Accepted answer
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
Comments 2
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/
|
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.