How to get currently logged in user
![]()
Hi everyone,
I'm making a java extension for my liberty server.
I want to set an attribute to the current logged in user.
I know how to set and save an attribute, but I don't know how to get the currently logged in user.
All the solutions I've found so far are eighter for javascript or for the client api.
Any advice?
Thanks
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 22 '16, 4:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/
Philipp H selected this answer as the correct answer
Comments Oh. Thanks!
For the lazy:
IContributorHandle loggedIn = this.getAuthenticatedContributor();
|
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.