It's all about the answers!

Ask a question

How to get currently logged in user


Philipp H (53615) | asked Aug 22 '16, 3:53 a.m.
 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


permanent link
Ralph Schoon (63.7k33648) | 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
Philipp H commented Aug 22 '16, 4:11 a.m.

Oh. Thanks!


For the lazy:
IContributorHandle loggedIn = this.getAuthenticatedContributor();

Your answer


Register or 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.