Skip to content

/AWS1/CL_DZN=>ADDPOLICYGRANT()

About AddPolicyGrant

Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID

The ID of the domain where you want to add a policy grant.

IV_ENTITYTYPE TYPE /AWS1/DZNTARGETENTITYTYPE /AWS1/DZNTARGETENTITYTYPE

The type of entity (resource) to which the grant is added.

IV_ENTITYIDENTIFIER TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The ID of the entity (resource) to which you want to add a policy grant.

IV_POLICYTYPE TYPE /AWS1/DZNMANAGEDPOLICYTYPE /AWS1/DZNMANAGEDPOLICYTYPE

The type of policy that you want to grant.

IO_PRINCIPAL TYPE REF TO /AWS1/CL_DZNPOLICYGRANTPRINC /AWS1/CL_DZNPOLICYGRANTPRINC

The principal to whom the permissions are granted.

IO_DETAIL TYPE REF TO /AWS1/CL_DZNPOLICYGRANTDETAIL /AWS1/CL_DZNPOLICYGRANTDETAIL

The details of the policy grant.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/DZNCLIENTTOKEN /AWS1/DZNCLIENTTOKEN

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DZNADDPLYGRANTOUTPUT /AWS1/CL_DZNADDPLYGRANTOUTPUT