Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

How to retrieve all users in the portal with UME API

$
0
0

Hi everybody,

 

I would like to know how to retrieve all the users from a portal, which uses LDAP as a source (there are users created in the portal as well)

 

My code snippet is :

 

IUserFactory userFactory = UMFactory.getUserFactory();
UserSearchFilter searchFilter = userFactory.getUserSearchFilter();
searchFilter.setDisplayName("*", ISearchAttribute.LIKE_OPERATOR, false);
ISearchResult searchResult = userFactory.searchUsers(searchFilter);

 

My problem is that with the code above, only the users created in the portal are displayed, and no LDAP users.

 

Does someone know how to retrieve all the users whatever is the source?

 

Regards

 

Renaud


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>