Role-assignments as an Identity Attribute?

Hello,

I’m just curious if this is even possible (with a transform? A rule?)… is it possible to parse role-assignments as an Identity Attribute?
I don’t mean the whole role json, just the ‘name’ of the first role found, would be fine for my purposes.

For example
Identity “Bob Jones”
Attribute RoleName “Customer Service Rep”

I’m familiar with running search/reports “including access details” to gather lists of users and all their roles.

I’m also familiar with the API here get-role-assignments | SailPoint Developer Community

And also I understand parsing arrays with multiple values (like Role1, Role2, Role3) that’s a whole different layer of complication.

You can access the identity object inside a transform using $identity. Though I have not used this much, I am thinking you can use this to find the roles the identity has

oh yeah, duh, I forgot about that!

created a transform
“$identity.getAssignedRoles()”

and… I’m good-to-go. Thank you for that.

1 Like

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