It is mention in this doc that we can use uid as an argument for getIdentityById.
- Which I have confusion as the method name says getIdentityById. So, will this be hashcode id like 2c91802882d6b96f0682d9ef7b9e6g94(idn.getIdentityById(“2c91802882d6b96f0682d9ef7b9e6g94”)); or it will pull the information from uid/Sailpoint Username.
sailpoint.rule.Identity foundIdentity = idn.getIdentityById(“uid”);
- Also, can see there no method called getAttribute(“text”) for sailpoint.rule.Identity instead getAttributes is present whose return type is Map.
String email = foundIdentity.getAttribute(“email”);
Checked getAttributes() in java doc.
Java Doc: Java Docs | SailPoint Developer Community
java.util.Map<java.lang.String,java.lang.Object>
getAttributes()
Get the raw attributes of the User.
Screenshot attached.
So, can anyone please suggest on above two queries.