cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving user details from LDAP

Former Member
0 Kudos

Hi All,

We recently migrated from ABAP Store to LDAP Store.

We are using the following code to retrieve the user details :

IUserFactory userFactory = UMFactory.getUserFactory();

IUser objIUser = userFactory.getUserByLogonID(UserLogonID);

// Populate User

User carUser = new User();

carUser.setFirstName(objIUser.getFirstName());

carUser.setLastName(objIUser.getLastName());

carUser.setUniqueID(objIUser.getUniqueID().toUpperCase());

carUser.setLogonID(objIUser.getPersonID());

carUser.setEmail(objIUser.getEmail());

carUser.setTelephone(objIUser.getTelephone());

This is a part of EJB which is being exposed as Webservice.

Though the user details are present and can be checked from User Management Screen, when executing the webservice, we get the email id as null.

Is there any other way to retireve user details. Is it mandatory to use the attribute list and retrieve the details?

Thanks,

Uma.A

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Modified the xml file for attributes as mandatory and we were able to retrieve the email -id.