Experts,
I have a use case to identify Provisioning Role(s) owned by user who is being off boarded/terminated.
I found below script which can be used to identify roles owned by a user but this script returns only requestable roles. I would like to identify all roles owned by a user irrespective of whether they are requestable or not.
Appreciate your suggestions.
Alternatively, if you have another way to accomplice this use case please feel free to share.
var targetFilter = {"targetFilter": {
"operator": "EQUALS",
"operand": {
"targetName": "glossary.idx./role.roleOwner",
"targetValue": "managed/user/"+ userId
}
}}
var results = openidm.action('iga/governance/catalog/search', 'POST', targetFilter, {});