on 04-04-2006 11:46 AM
I try to get the current user of my WD application using the following piece of code:
IWDClientUser user;
user = WDClientUser.getCurrentUser();
String strUser = user.getSAPUser().getUniqueName
But I get the following compilation error :
Error 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) ResultView.java Wd_ex1/gen_wdp/packages/com/tsi/wd/ex1 line 0
Can anybody tell me how and which libraries to put in the classpath?
regards,
Bhupesh
you have to put the following file to your classpath in NWDS:
<location of your NWDS>\plugins\com.sap.secutity\lib\com.sap.security.api.jar
kr, achim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to project properties -> java build path-> libreries-> ad variable
select wd runtime
click on extend
and select
com.sap.security/lib/com.sap.security.api.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.