on 02-02-2007 9:26 AM
Hi,
I have to write an application where i have to get the details of user from LDAP.
In this scenario, we have the users spread in Standard Portal Users and more in the LDAP.
IUserFactory userFactory = UMFactory.getUserFactory();
IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
searchFilter.setFirstName("abc*", ISearchAttribute.LIKE_OPERATOR, false);
ISearchResult searchResult = userFactory.searchUsers(searchFilter);
Using this code i can get details of all the portal users. But cant find the LDAP Users.
Any help will be appreciated.
Regards
BP
Hi BP,
Is your LDAP configured to Portal UME. Is so then you can access the user details using the below code:
IWDClientUser wdUser = WDClientUser.forceLoggedInClientUser();
IUser user = wdUser.getSAPUser();
String Username = user.getUniqueName();
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.