on 01-31-2007 7:02 PM
Hi,
We have EP Portal connected to LDAP for login authentication.
We need to retrieve the portal user information on Web Dynpro screen such as ID, username.
This shall be maintained in LDAP.
How do I retrive this info??
Thanks.
Regards,
Tanveer.
Hi Tanveer,
You can use the following code to get he portal login user:
IWDClientUser wdUser = WDClientUser.forceLoggedInClientUser();
IUser user = wdUser.getSAPUser();
String Username = user.getUniqueName();
Note: You need to add the "com.sap.security.api" jar file inorder use the above code.
Refer to the following thread for more information:
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.