GiuseppeDe
(Giuseppe Denora)
1
Hello in the section https://developer.sailpoint.com/idn/docs/rules/rule-utility/#idnruleutiljava-descriptors of Identity Rule Utility, the following snippet of code is present:
String email = foundIdentity.getAttribute("email");
I think it is a mistake because the class sailpoint.rule.Identity does not have the method getAttribute instead it has the method getAttributes.
Regards,
Giuseppe
Hello @GiuseppeDe,
The document is correct. The class sailpoint.rule.Identity has two attribute methods.
identity.getAttribute("attributeName")
- returns a single attribute value
identity.getAttributes()
- returns the raw attributes of the identity
GiuseppeDe
(Giuseppe Denora)
3
Hello Tyler,
This link https://community.sailpoint.com/t5/IdentityNow-Wiki/Using-IDNRuleUtil-as-a-Wrapper-for-Common-Rule-Operations/ta-p/201496#toc-hId–170591687 maybe deprecated but in the list of methods for sailpoint.rule.Identity the method getAttribute(String att) is missed.
One week ago I tried to use getAttribute in a manager correlation rule but I got back the error that it was undefined.
Regards,
Giuseppe