HAPPY NEW YEAR 2017

Identity And Access Management - Rajiv Dewan

Sample Code: Search Organization OIM 11g R2 API

Here is the code snippet to search organization in OIM 11g R2 through APIs:



Set retAttrs = new HashSet();

SearchCriteria searchCriteria = new SearchCriteria("Organization Name", "IDMAPI", SearchCriteria.Operator.EQUAL);


List organizationList = organizationManager.search(searchCriteria, retAttrs, null);
for(Organization organization:organizationList){
HashMap attributeMap = organization.getAttributes();

System.out.println("Organization Attribute Map:: " + attributeMap);
}