on 09-13-2010 10:23 AM
HI,
I want to get Portal User ID from Web dynpro applicaiton.
I got the following code in forums:
IWDClientUser wdUser=WDClientUser.getCurrentUser();
IUser user=wdUser.getSAPUser();
String LogonID=user.getUniqueName();
I dont know what needs to be imported to use the following funcitons.. I tried with
import com.sap.tc.webdynpro.services.sal.um.api.*;
but I am getting an error at the top of the applicaiton saying
This Compilation Unit indirectly references the missing type com.sap.security.api.IUser (Typically some required class file is referencing a type outside the classpath)...
Dont know what class I need to import or refer to.. Did any one came across this ? can you please point what I am missing.
Thanks
Rajeev.
Hi ,
Add the required JAR files (UME).
you need to add com.sap.security.api.jar file to the project .
you get this file in NWDS plug ins
<installation dir>\SAP\IDE\IDE70\eclipse\plugins\com.sap.security_2.0.0\lib
Regards,
Sunitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.