We are using getAccountByDisplayName to get the account in the IdentityAttribute rule. IdentityNow is not able to search the account even though the account is present.
The search which I am performing is on a source who has all its account in uncorrellated state. So my question is does the getAccountByDisplayName does not get accounts from a source which are not correlated to an identity ?
Has anyone worked on this method and give us some pointer and directions?
Hi Nithesh,
We have a source which contains Historical Records of samAccountname. I have aggregated all the accounts in IdentityNow and they are in uncorrealted state. We have written an Attribute Generator Rule in which I have a logic to check if user is rehire if he is then i go and check this source using the below method.
getAccountByDisplayName(Applicationname,accoutName) … the account name in this is nothing but the employee number we get in the attribute generator rule. Now when i execute the logic it is returning null and that is why wanted to know if we can do a search using getAccountByDisplayName() ?
Hi Team,
Just to update we can do a serach on uncorreated accounts as well. The issue was with the source not sure why it was not able to search. I did create a new source with different name and tried in the cloud rule and it worked :).
I think there is some issue with the Webservice connector what I have seen. If you change the settings like account I’d or operation it does behave cranky and we need to recreate the source. I had done the same thing @iamnithesh yes we did had renamed the source but I did try with old name as well it still did not work