1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | package com.massiveGaze.orgs; import com.massiveGaze.connection.OIMConnection; import oracle.iam.identity.exception.NoSuchOrganizationException; import oracle.iam.identity.exception.OrganizationAlreadyDeletedException; import oracle.iam.identity.exception.OrganizationDeleteException; import oracle.iam.identity.exception.OrganizationDeleteSubOrgsExistException; import oracle.iam.identity.exception.OrganizationDeleteSubOrgsUsersExistException; import oracle.iam.identity.exception.OrganizationDeleteUsersExistException; import oracle.iam.identity.exception.OrganizationOrphanedPublishedEntitiesException; import oracle.iam.identity.orgmgmt.api.OrganizationManager; import oracle.iam.platform.OIMClient; import oracle.iam.platform.authz.exception.AccessDeniedException; public class DeleteOrganizations { protected static OIMClient platform = OIMConnection.getConnection(); protected static OrganizationManager m_orgManagerService =(OrganizationManager) platform.getService(OrganizationManager.class); public void deleteOrganizations() throws OrganizationDeleteException, NoSuchOrganizationException, OrganizationAlreadyDeletedException, OrganizationDeleteSubOrgsExistException, OrganizationDeleteSubOrgsUsersExistException, OrganizationDeleteUsersExistException, OrganizationOrphanedPublishedEntitiesException, AccessDeniedException { //for (int i = 4; i <100 ; i++) { String orgKey= Integer.toString(81); try{ m_orgManagerService.delete(orgKey, false); }catch(Exception e){ System.out.println(" orgKey -> "+ orgKey); } // } System.out.println("Done"); } } |
Oracle Identity Manager (OIM R2PS2/PS3/12C) is a highly flexible and scalable enterprise identity administration system that provides operational and business efficiency by providing centralized administration & complete automation of identity and user provisioning events across enterprise as well as extranet applications.
OIM Delete Organizations API
Subscribe to:
Posts (Atom)
About OIM
Oracle Identity Management enables organizations to effectively manage the end - to - end life - cycle of user ide...
Popular Posts
-
OIM API's Sample Code : Videos: Massive Gaze Videos Connection Related API's : OIM DB Connection/ Data Source connection ...
-
Videos: Massive Gaze Videos 1. Basic OIM Information 2. MDS Export/Import 3. Steps For R2PS2 / R2PS3 Custom Pre-processor Ev...
-
Videos: Massive Gaze Videos 1. Query to get OIM Provsioned/provisioning Account details 2. Query to get usr keys For Rejected / ...
No comments:
Post a Comment