AnsweredAssumed Answered

How to get the user's name from a custom dialog?

Question asked by nicolasraoul on Feb 2, 2010
Latest reply on Feb 8, 2010 by nicolasraoul
Hello all,

I implemented a custom dialog by extending BaseDialogBean as seen on the wiki:
http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog

In the Java code, I need the id of the current user.

It is probably easy but I could not find where to get this information… I tried a mix of Application.getCurrentUser, this.getActionsContext(), and the methods inherited from BaseDialogBean, but did not find a way to get it… User name or user id or anything that could identify the Alfresco web client user.

Thanks a lot!

Outcomes