I need to generate value of an attribute of AD on the basis of an account attribute of other application. I tried using idn rule library methods in my AttributeGenerator rule but I keep getting null. Here is the code I am running:
Account appAAccount = idn.getAccountByNativeIdentity(“AppA”, sAMAccountName);
As per logs, sAMAccountName is fine. But Account comes as null. I also tried getRawAccountAttribute() method and it also return null.
I am not sure what I am doing wrong. Has anybody ever used these methods? Any pointers will be highly appreciated.