What is a transform or rule to get the user's manager name based on manager mail id?

hi Team,

can any one below query ?

in manager field i get the value like manager email address . instead of mail address i need to populate his name . can anyone help with the transform rule for this scenario

how can i convert into email address to his name using transform rule ?

Thanks in advance

Try this:

{
  "attributes": {
    "name": "Cloud Services Deployment Utility",
    "operation": "getReferenceIdentityAttribute",
    "uid": "manager",
    "attributeName": "email"
  },
  "type": "rule",
  "name": "Get manager name from email"
}

(see Get Reference Identity Attribute | SailPoint Developer Community )

Mind you, if it is the manager field on the identity cube you want to change, that field is auto calculated to point to the name of the identity of the manager.

If you need a different field, you might want to use a separate attribute for this.

Hi Wim,

I have used the accountName but still manager’s email id is getting populated in the users manager attribute field

{
“name”: “manager UID”,
“type”: “rule”,
“attributes”: {
“name”: “Cloud Services Deployment Utility”,
“operation”: “getReferenceIdentityAttribute”,
“uid”: “manager”,
“attributeName”: “accountName”
},
“internal”: false
}