package com.provision; import java.util.HashMap; import java.util.Map; import com.connection.Platform; import Thor.API.tcResultSet; import Thor.API.Exceptions.tcAPIException; import Thor.API.Exceptions.tcColumnNotFoundException; import Thor.API.Exceptions.tcUserNotFoundException; import Thor.API.Operations.tcUserOperationsIntf; public class GetProcessInstanceKey { public static void main(String[] args) throws tcAPIException, tcUserNotFoundException, tcColumnNotFoundException { tcUserOperationsIntf userOperationsIntf=Platform.getService(tcUserOperationsIntf.class); long userKey=1004L; Map<String,Long> resources= new HashMap<String,Long>(); tcResultSet trs= userOperationsIntf.getObjects(userKey); if(trs != null) { int count=trs.getRowCount(); for(int i=0;i<count;i++) { trs.goToRow(i); String objectName=trs.getStringValue("Objects.Name"); String status=trs.getStringValue("Objects.Object Status.Status"); if(status.equalsIgnoreCase("Provisioned") || status.equalsIgnoreCase("Enabled")) { resources.put(objectName,trs.getLongValue("Process Instance.Key")); } } } System.out.println("resources -> "+resources); } }
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 API To Get Process Instance Key
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