Get current user name from AgileSession variable

Hi, Can you help me how can I get current user name from Agile session variable? I have:

public EventActionResult doAction(IAgileSession iAgileSession, INode iNode, IEventInfo iEventInfo)
But the below code gives back 'null':
IUser currentUser = iAgileSession.getCurrentUser();
When I debugging it, and check agile session variable parameters in the debug window, I see that there is an m_CurrentUserName filled, that I actually need. But how can I extract it? I didn't find 'getCurrentUserName' function. Thanks, Feri
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.