Skip to contents

Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.

See https://www.paws-r-sdk.com/docs/workmail_assume_impersonation_role/ for full documentation.

Usage

workmail_assume_impersonation_role(OrganizationId, ImpersonationRoleId)

Arguments

OrganizationId

[required] The WorkMail organization under which the impersonation role will be assumed.

ImpersonationRoleId

[required] The impersonation role ID to assume.