mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
In this example of how to differentiate between the two classes of type identity, an incorrect method for the sailpoint.rule.Identity class is referenced:
sailpoint.rule.Identity foundIdentity = idn.getIdentityById("uid");
String email = foundIdentity.getAttribute("email");
It should be changed to:
sailpoint.rule.Identity foundIdentity = idn.getIdentityById("uid");
String email = foundIdentity.getEmail();
Looks like it got changed when this content was copied from
https://community.sailpoint.com/t5/IdentityNow-Wiki/Using-IDNRuleUtil-as-a-Wrapper-for-Common-Rule-Operations/ta-p/201496