Skip to Content
0
Former Member
Jan 11, 2008 at 08:58 AM

How do you access the user's portal login id?

57 Views

Hi ALL,

When i try to capture all the portal login id to a report using the following code

IUser epUser = null;

String portalUser = "";

try {

IWDClientUser user = WDClientUser.getLoggedInClientUser();

epUser = user.getSAPUser();

portalUser = epUser.getUniqueName();

}

} catch (Exception e) {

}

or even

IWDClientUser user = WDClientUser.getCurrentUser();

It is giving me this output in my report

USERID

93

93

93

93

if i give authentication = true, it asks for a login. and if i enter with a "administrator' login, it gives me

USERID

administrator

administrator

administrator

How can i get all the portal login id? Why number is reflecting instead of ID's?

Regards,

Divya