on 07-19-2010 6:52 AM
Dear Expert,
I am using follwing standard SAP Provided code to fetch the logged in User ID in Portal in my WDJ applicaiton...
IWDClientUser user = WDClientUser.getCurrentUser();
IUser objUser = user.getSAPUser();
String str = objUser.getUniqueName();
wdComponentAPI.getMessageManager().reportSuccess("User ID"+str);
The above code is working fine in Development/Quality system, printing the Logged in user ID.
But when i deployed this applicaiton in PRD system, it always print ID as J2EE_GUEST .
Please help.
Thanks in Advance..
M.D.Sahu
Hi M.D.Sahu,
Please check and verify the UME data sources for Development/Quality and Prod. your code is correct, it should print the users.
Check the default trace log file for more information.
Hope it will helps
Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While Configuring the Portal some configuration parameter had been hardcoded...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Fact is current logged in user is J2EE_GUEST , Check if your SAP users and Portal user are correctly mapped(if CUA landscape).
Generally the guest user is used during the startup of the J2EE engine. The services and applications of the server process needs the guest user,
One more check Make sap.authentication of application true , than logged in by some other userid.
One help given here
[Always getting j2ee_guest as logged in user |;
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.