Impersonation SDK

Impersonation SDK

Comments

  • 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?

  • 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.

  • 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?

Sign In or Register to comment.