using role in js
![]()
Good morning,
i need to retrieve the role of the registrant via javascript.
is there any way you can do it using javascript?
thank you so much.
|
One answer
![]()
The JavaScript object "com.ibm.team.repository.web.client.internal.AUTHENTICATED_CONTRIBUTOR_ROLES" contains the repository roles (JazzAdmins, and etc). Note that this is meant for internal use only.
I don't know any ways to retrieve the process roles (project level) for a user given the limitation of the JavaScript extension (it's really meant for dealing with the current work item only). Comments I second that and would also like to state that objects like the one Don mentions above, are only available in the RTC Web UI. They are not available in the JS running in the Eclipse client.
|
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.