API AccountData.getData() Returns No Data in OIM (Doc ID 1678887.1)

Last updated on JUNE 17, 2014

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


The code below is used to retrieve AD account data:

  accounts = provServ.getAccountsProvisionedToUser(userKey);
  logger.finest("getUsersToTheLookupTask -------> User details - userKey: " + userKey + " ,DisplayName: " + userDisplayName);
  Iterator it=accounts.iterator();
  while(it.hasNext()) {
  Account ad_account = (Account)it.next();
  if (ad_account.getAppInstance().getApplicationInstanceName().equalsIgnoreCase(appInstName) && ad_account.getAccountType().equals(Account.ACCOUNT_TYPE.Primary)) {
  logger.finest("getUsersToTheLookupTask -------> AppInstance ApplicationInstanceName: " + ad_account.getAppInstance().getApplicationInstanceName());
  AccountData accountdata = ad_account.getAccountData();
  Map<String, Object> accdata = accountdata.getData(); //THIS RETURN EMPTY Map<String,Object> !!! 


The code works fine on OIM , but,  on OIM, the Map<String, Object> accdata = accountdata.getData(); returns empty map only.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms