How to use IdNRuleUtil.getAccountAttribute from a identity attribute rule?

Have you considered using Link?
Use identity.getLinks() to get all the Links for the identity. Then iterate through these Links to find the one specific to the Source you want to use by comparing link.getApplicationName() to the Source Name. Then link.getNativeIdentity() to get the nativeIdentity of the account

2 Likes