Skip to Content
0
Former Member
Feb 19, 2004 at 12:58 AM

Retrieving Web Dynpro User Info

57 Views

Hi,

I would like to know how in a webdynpro application, one can obtain the user id of the EP6 user who is logged in.

Here's one of the examples from the documentation:

// get the com.sap.security.api.IUser;

//it is null in case user represents an anonymous user

IWDClientUser user = WDClientUser.getCurrentUser();

IUser iUser = user.getSAPUser();

But the above example doesn't seem to explain, how to get the "com.sap.security.api.IUser" package.

Can somebody explain? or is there any other method of retrieving the user info?