Hello there,
I am working with OIM 11g R2 PS2.
I am trying to build a Java class to get the Organization Administrators based on the Organization Name.
From the Oracle doc specific to 11g R1: it can be achieved using the following code snippet:(Using APIs)
=====================================================================
/** Retrieves the administrators of an organization based on the organization
name. */
public List getAdministratorsOfOrganization(String psOrganizationName){
Vector mvOrganizations=new Vector();
tcOrganizationOperationsIntf moOrganizationUtility =
clientPlatform.getService("Thor.API.Operations.tcO
rganizationOperationsIntf");
Hashtable mhSearchCriteria = new Hashtable();
mhSearchCriteria.put("Organizations.Organization Name", psOrganizationName);
tcResultSet moResultSet =
moOrganizationUtility.findOrganizations(mhSearchCriteria);
tcResultSet moAdmins;
for (int i=0; i<moResultSet.getRowCount(); i++){
moResultSet.goToRow(i);
moAdmins=moOrganizationUtility.getAdministrators(moResultSet.getLongValue("Org
anizations.Key"));
mvOrganizations.add(moAdmins.getStringValue("Groups.Group Name"));
}
}
=========================================================
But is a legacy API which has been re-written as" oracle.iam.identity.orgmgmt.api. OrganizationManager"
When I am checking the Java API ref of OIM 11g R2 from Oracle Fusion Middleware Java API Reference for Oracle Identity Manager I dont find the methods highlighted in the above code snippet in the new API class,
Could somebody help me in achieving this.
Regards,
Mounika