Identity attribute

Hi,

I’m trying to populate user manager’s attribute “Management Level” in Identity attribute. Is there an option to do that.

I don’t see an option to pull it via transforms.

Hi @chandramohans27,

Thank you for posting and welcome to SailPoint Developer Community.

You can use this transform (Make sure you use technical name of the attribute):-

{
    "type": "static",
    "attributes": {
        "value": "$identity.getManager().getAttribute('managementLevel')"
    }
}

or

{
    "name": "Get Management Level",
    "type": "rule",
    "attributes": {
        "uid": "manager",
        "name": "Cloud Services Deployment Utility",
        "attributeName": "managementLevel",
        "operation": "getReferenceIdentityAttribute"
     },
        "internal": false
}

Personally, I would recommend the second approach.

1 Like

@atarodia

Thanks for the reply. It helped and worked.

Similarly, Is there an option to set user manager, user manager’s manager and user manager’s manager’s manager on Identity attributes.

You can just add .getManager() in the transform.

For example to get last name of manager’s manager. You can do

{
    "type": "static",
    "attributes": {
        "value": "$identity.getManager().getManager().getAttribute('lastname')"
    }
}
1 Like

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