HomeSDK

Help with the Decisions Software Development Kit

Impersonation SDK Messages in this topic - RSS add reply

CleverPeanut
CleverPeanut
Posts: 72


10/28/2019
CleverPeanut
CleverPeanut
Posts: 72
Is there an SDK method or any component where we can, for any user, determine if that account has specified any other accounts which may impersonate?
0 link reply with quote
Brian@decisions.com
Brian@decisions.com
Administrator
Posts: 78


10/28/2019
Brian@decisions.com
Brian@decisions.com
Administrator
Posts: 78
Dearest Peanut,

The Account class has a GetImpersonationsAccountIds method that returns a string array of account ids. Should be able to use that and check if the list is empty.
0 link reply with quote
Ross Dannenberg
Ross Dannenberg
Posts: 16


4/3/2020
Ross Dannenberg
Ross Dannenberg
Posts: 16
Adding on to the question, is there an SDK or set of steps that can be used to update impersonations programmatically? We want to build a flow that will automatically add and remove impersonations based on data in our manager/assistant database, so whenever an assistant is assigned to a new manager, or vice versa, the system will automatically allow the assistant to impersonate the manager. Is there a way to do this?
+1 link reply with quote


(Ctrl+Enter)




Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software