Skip to Content
0
Former Member
Jun 06, 2014 at 03:05 PM

How to get userinformation by passing userid

27 Views

Hi All,

I know how to get IUser Object for the current logged in user and get the user information like Job title, City, Time Zone, Country, Department etc..

The same details I want go get for a particular user (not current logged in user).

Hence I am trying to pass the userid but not getting the IUser object and getting only null always. The user I am passing exists and also tried passing the full LDAP Unique ID.

IUser user2 = (IUser)WDClientUser.getClientUser("ramesh.kotagiri");

Is there any other way using UME API to get the IUser object and the user details like country, department from it, by passing a known userid.

Regards,

Ramesh.