cancel
Showing results for 
Search instead for 
Did you mean: 

Store Portal User in Back end while Create/update records

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)