Skip to content

/AWS1/CL_WML=>ASSUMEIMPERSONATIONROLE()

About AssumeImpersonationRole

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

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

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

IV_IMPERSONATIONROLEID TYPE /AWS1/WMLIMPERSONATIONROLEID /AWS1/WMLIMPERSONATIONROLEID

The impersonation role ID to assume.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLASSUMEIMPERSONAT01 /AWS1/CL_WMLASSUMEIMPERSONAT01