Quantcast
Channel: SCN : Popular Discussions - Web Dynpro Java
Viewing all articles
Browse latest Browse all 989

Always getting j2ee_guest as logged in user

$
0
0

Hi All,

 

I am creating an application where I am supposed to get the user id which has logged into the portal. My code is as follows

 

 

IWDClientUser clientUser = WDClientUser.getCurrentUser();

               IUser user = clientUser.getSAPUser();

 

               eMailId = user.getEmail();

I am always getting the user as j2ee_guest no matter whoever has logged into the system. I am suprised why this is happening.

 

Plz help.

 

Regards

 

Nikhil Bansal


Viewing all articles
Browse latest Browse all 989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>