Skip to content

/AWS1/CL_WML=>CREATEIMPERSONATIONROLE()

About CreateImpersonationRole

Creates an impersonation role for the given WorkMail organization.

Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

The WorkMail organization to create the new impersonation role within.

IV_NAME TYPE /AWS1/WMLIMPERSONATIONROLENAME /AWS1/WMLIMPERSONATIONROLENAME

The name of the new impersonation role.

IV_TYPE TYPE /AWS1/WMLIMPERSONATIONROLETYPE /AWS1/WMLIMPERSONATIONROLETYPE

The impersonation role's type. The available impersonation role types are READ_ONLY or FULL_ACCESS.

IT_RULES TYPE /AWS1/CL_WMLIMPERSONATIONRULE=>TT_IMPERSONATIONRULELIST TT_IMPERSONATIONRULELIST

The list of rules for the impersonation role.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/WMLIDEMPOTENCYCLITOKEN /AWS1/WMLIDEMPOTENCYCLITOKEN

The idempotency token for the client request.

IV_DESCRIPTION TYPE /AWS1/WMLIMPERSONATIONROLEDESC /AWS1/WMLIMPERSONATIONROLEDESC

The description of the new impersonation role.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLCREIMPERSONATION01 /AWS1/CL_WMLCREIMPERSONATION01