Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9245

Re: How to retrieve all users in the portal with UME API

$
0
0

Hi ,

 

How to get UME users from portal using API ?

 

I am able to get users using IUserSearchFilter by setting unique Name and first name.

filter.setUniqueName("uniqueName", ISearchAttribute.LIKE_OPERATOR, false);

filter.setUniqueName("fName", ISearchAttribute.LIKE_OPERATOR, false);

filter.setSearchMethod(IPrincipalSearchFilter.SEARCHMETHOD_AND);

 

 

My question is how to merge different conditions into this filter ???

I need condition like this

It should contain uniqueName and either first name or last name(unique name && (first name || last name))

 

 

i would like to restrict max search result to 1000. But it is throwing exception like setMaxResults can

be applied if one parameter is set. How can we achieve if i set multiple parameters.

 

 

Please help me in this.

Thanks!!!


Viewing all articles
Browse latest Browse all 9245

Trending Articles