Problem With Retrieval Of More Than 1000 Users During Search API (Doc ID 1952053.1)

Last updated on JANUARY 11, 2015

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


When trying to search more than 1000 users with "search" API for OIM
Map userTmpKey = new HashMap();
UserManager usrMng = Platform.getService(UserManager.class);
SearchCriteria criteria = new SearchCriteria(AttributeName.USER_KEY.getId(), userTmpKey.values(), SearchCriteria.Operator.IN);
List userRets =, null, new HashMap());
The following error is encountered:
<ORA-01795: maximum number of expressions in a list is 1000>



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms