Skip to content

/AWS1/CL_MDS=>GETCORSPOLICY()

About GetCorsPolicy

Returns the cross-origin resource sharing (CORS) configuration information that is set for the container.

To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.

Method Signature

IMPORTING

Required arguments:

IV_CONTAINERNAME TYPE /AWS1/MDSCONTAINERNAME /AWS1/MDSCONTAINERNAME

The name of the container that the policy is assigned to.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MDSGETCORSPLYOUTPUT /AWS1/CL_MDSGETCORSPLYOUTPUT