Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:14 PM
Hi,
When using the userAccount.get function in a REST Connector.
userAccount.get("Active Directory").customproperty3
It works great when the user has a single account in the requested endpoint. The above will return customproperty3 from the user's account object in the Active Directory endpoint.
It is not clear to me what happens if the user has two accounts in the endpoint. Is there a way to pass additional criteria in the function or do the results come back as an array that can be inspected with logical operators?
Thank you in advance.
Solved! Go to Solution.
04/12/2022 02:39 PM
Chris,
Are you using this in any specific section of the REST connector ? for e.g UpdateAccountJSON ?
Reards,
Avinash Chhetri
04/12/2022 02:39 PM
I am using this in the AddAccessJSON section.
Thanks,
Chris
04/12/2022 02:39 PM
Hi Chris,
Currently I do not think you will get an array if the user has multiple accounts. I believe it would get you an account, in a random order.
Regards,
Avinash Chhetri