Skip to Content
0
Former Member
Oct 25, 2005 at 03:15 PM

IWDUser Problem!!

16 Views

Hi all,

I'm using user authemtication when I run my webdynpro application with the following code:

IWDClientUser wdUser = WDClientUser.forceLoggedInClientUser();

String user = wdUser.getSAPUser().getUniqueID();

if (!user.equals(null)){

String UserId = user.toString().toUpperCase().substring(16);

}

String lifnr = UserId.substring(3,UserId.lenght - 1);

lifnr = "0005" + lifnr;

but when I try to rebuild the project, I got this two error that doesn't allow me to do deploy.

The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project.

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).

Does anyone know about this topic?

Thanks,

Jesus.