Skip to Content
Former Member
Jul 08, 2005 at 07:11 AM

How to get User Id in Web dynpro application


Hi Experts,

I am running web dynpro application with authentication checkbox set. I want to display user id of the user in my application. I am using following code in Init method of component controller.

IWDClientUser wdUser = WDClientUser.getCurrentUser();

WdContext.currentContextElement().setUserName (wdUser.getClientUserID());

Here I am getting some integer value as userId.

I am not using Portals, so solutions suggested for portal are not useful for me .

Is there any way to get this uset id.

Thanks in advance