It's all about the answers!

Ask a question

RTC 6.0.1 how to get the role(s) value(s) of signed user and print it in an attribute?


Rafael Rodriguez Montes (23013124244) | asked Apr 12 '16, 3:09 p.m.
edited Apr 12 '16, 3:10 p.m.
 Is there any way where we can get the role(s) associated with user signed and print it in an attribute read only ? 
which is the workitem.attribute name that contains this value? or if is possible ?
 
Thank you

One answer



permanent link
Donald Nong (14.5k414) | answered Apr 12 '16, 10:00 p.m.
I suppose you are using JavaScript in attribute customization? If so, I don't think there is a way to do it. You can find out the logged-in user when using the Web client. But the role assignment is part of the process configuration, not the contributor, or the work item, so I doubt you can retrieve such information.
https://jazz.net/forum/questions/68374/how-can-i-get-logged-in-user-in-javascript

Your answer


Register or to post your answer.