Skip to content

/AWS1/CL_DZN=>LISTPOLICYGRANTS()

About ListPolicyGrants

Lists policy grants.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID

The ID of the domain where you want to list policy grants.

IV_ENTITYTYPE TYPE /AWS1/DZNTARGETENTITYTYPE /AWS1/DZNTARGETENTITYTYPE

The type of entity for which you want to list policy grants.

IV_ENTITYIDENTIFIER TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The ID of the entity for which you want to list policy grants.

IV_POLICYTYPE TYPE /AWS1/DZNMANAGEDPOLICYTYPE /AWS1/DZNMANAGEDPOLICYTYPE

The type of policy that you want to list.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/DZNMAXRESULTSFORLISTDOMS /AWS1/DZNMAXRESULTSFORLISTDOMS

The maximum number of grants to return in a single call to ListPolicyGrants. When the number of grants to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListPolicyGrants to list the next set of grants.

IV_NEXTTOKEN TYPE /AWS1/DZNPAGINATIONTOKEN /AWS1/DZNPAGINATIONTOKEN

When the number of grants is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListPolicyGrants to list the next set of grants.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DZNLISTPLYGRANTSOUT /AWS1/CL_DZNLISTPLYGRANTSOUT