Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/31/2024 02:55 PM
07/31/2024 03:05 PM
${com.saviynt.ecm.identitywarehouse.domain.Users.get(user?.manager)?.username}
07/31/2024 03:32 PM
I dont want to get the manager's attributes.
I am trying to get the customproperty31 of the rank1 owner of the entitlement (not from the role object), and I can get the owner's username like this:
"cn": "${role?.customproperty27}",
"objectCategory": "CN=Group,CN=Schema,CN=Configuration,DC=rootq,DC=com",
"displayName": "${role?.displayname}",
"sAMAccountName": "${role?.customproperty27}",
"description": "${role?.description}",
"extensionAttribute13": "${if(role?.customproperty21?.equals('Security')) {''} else {'MailEnabled'}}",
"objectClass": "group",
"name": "${role?.customproperty27}",
"groupType": "${role?.customproperty21 == 'Mail Enabled Security Group' && role?.customproperty22 == 'Universal'?'-2147483640':role?.customproperty21 == 'Security' && role?.customproperty22 == 'Global'?'-2147483646':role?.customproperty21=='Security'&&role?.customproperty22=='Universal'?'-2147483640' : role?.customproperty21== 'Security'&&role?.customproperty22=='Domain Local'?'-2147483644':role?.customproperty21=='Distribution'&&role?.customproperty22=='Global'?'2':role?.customproperty21=='Distribution'&&role?.customproperty22=='Universal'?'8':role?.customproperty21=='Distribution'&& role?.customproperty22=='Domain Local'?'4':''}",
"managedBy": "${entitlementValuesObj.ownerRank1[0].customproperty31}"
07/31/2024 06:47 PM
entitlementValuesObj is entitlement_values object