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.tcFormNotFoundException; import Thor.API.Exceptions.tcInvalidValueException; import Thor.API.Exceptions.tcNotAtomicProcessException; import Thor.API.Exceptions.tcProcessNotFoundException; import Thor.API.Exceptions.tcRequiredDataMissingException; import Thor.API.Operations.tcFormInstanceOperationsIntf; public class UpdatingAccessPolicyFormData { public static void main(String[] args) throws tcAPIException, tcNotAtomicProcessException, tcFormNotFoundException, tcProcessNotFoundException, tcInvalidValueException, tcRequiredDataMissingException{ tcFormInstanceOperationsIntf formInstanceIntf = Platform.getService(tcFormInstanceOperationsIntf.class); long processInstanceKey= 793L; tcResultSet trs = formInstanceIntf.getProcessFormData(processInstanceKey); int count=trs.getRowCount(); for(int i=0;i<count;i++){ trs.goToRow(i); String columnNames[] = trs.getColumnNames(); for (String string : columnNames) { try { System.out.println(string + " - " + trs.getStringValue(string)); } catch (tcAPIException | tcColumnNotFoundException e) { e.printStackTrace(); } } } // Updating the For Column. String adColumnName="UD_ADUSER_ZIP"; Map updateData=new HashMap(); updateData.put(adColumnName, "1234"); formInstanceIntf.setProcessFormData(processInstanceKey, updateData); } }
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 Updating Access Policy Form Data
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