Method for display name in Identity

Hello, I need a method similar to getReferenceIdentityAttribute, which returns the display name of another identity, I need to pass the id of the identity and it returns me the displayName.

Tks

Hi Eduardo,

Are you looking to do this via API, rule, transform…

Hi Colin,

using transform to get displayName

You would use the get reference identity attribute rule to accomplish this in transforms.

You can modify the example that Colin linked to get the information that you are looking for.

Just a note if you are using the IDN VS Code extension, the “Evaluate” function will return that custom attributes are “Missing or Invalid” when running this transform. During my testing, email and displayName returned values, but department, city, and location gave the error shown in the screenshot, even though the values and attributes were present. When the transform was placed in IDN and set up in an identityProfile, it worked correctly, so the issue is likely with how the VS Code Extension handles these. Just wanted to post this tip in case you ran into it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.