OIM 11gR2: API to modify accounts
Hi,
I would like to develop an event handler for OIM 11gR2 to modify a user account (for example Active Directory account) if some conditions are satisfied.
I looked for proper API in Java API Reference for Oracle Identity Manager and I found the interface ProvisioningService.
I already developed an event handler for test purpose that gets and prints account details and it works, but when I try to modify the account I get an error.
Here my sample code:
ProvisioningService provisioningService = oimClient.getService(ProvisioningService.class);
long accountId = 11004;
try {
//Getting account datails, parent data and child data and printing them for debugging purpose