on 05-17-2006 1:46 PM
Hi,
I am using the code below to get the portal user id but am having some difficulties building the project.
try {
IWDClient user = WDClientUser.getCurrentUser();
wdContext.currentContextElement().setUserID(user.SAPUser()); }
catch (Exception ex) {
}
However i am getting the following error - 'The rpoject was not built since its classpath is incomplete. Cannot find the class file com.sap.security.api.IUser. Fix the classpath then rebuild project. Where is the classpath and how do i do this?
Thanks for your help.
Sivajan
Hi,
To use IUser you will need to add the jar file "com.sap.security.api.jar" to your classpath. In case you don't find this file, look for "com.sap.security.api.ap5.jar". Add these files to your classpath.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sivajan,
Add WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar to your project`s java build path.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.