Skip to content

/AWS1/CL_WML=>CREATEMOBILEDEVICEACCESSRULE()

About CreateMobileDeviceAccessRule

Creates a new mobile device access rule for the specified WorkMail organization.

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

The WorkMail organization under which the rule will be created.

IV_NAME TYPE /AWS1/WMLMOBILEDEVACCRULENAME /AWS1/WMLMOBILEDEVACCRULENAME

The rule name.

IV_EFFECT TYPE /AWS1/WMLMOBILEDEVACCRLEFFECT /AWS1/WMLMOBILEDEVACCRLEFFECT

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/WMLIDEMPOTENCYCLITOKEN /AWS1/WMLIDEMPOTENCYCLITOKEN

The idempotency token for the client request.

IV_DESCRIPTION TYPE /AWS1/WMLMOBILEDEVACCRULEDESC /AWS1/WMLMOBILEDEVACCRULEDESC

The rule description.

IT_DEVICETYPES TYPE /AWS1/CL_WMLDEVICETYPELIST_W=>TT_DEVICETYPELIST TT_DEVICETYPELIST

Device types that the rule will match.

IT_NOTDEVICETYPES TYPE /AWS1/CL_WMLDEVICETYPELIST_W=>TT_DEVICETYPELIST TT_DEVICETYPELIST

Device types that the rule will not match. All other device types will match.

IT_DEVICEMODELS TYPE /AWS1/CL_WMLDEVICEMODELLIST_W=>TT_DEVICEMODELLIST TT_DEVICEMODELLIST

Device models that the rule will match.

IT_NOTDEVICEMODELS TYPE /AWS1/CL_WMLDEVICEMODELLIST_W=>TT_DEVICEMODELLIST TT_DEVICEMODELLIST

Device models that the rule will not match. All other device models will match.

IT_DEVICEOPERATINGSYSTEMS TYPE /AWS1/CL_WMLDEVOPERATINGSYST00=>TT_DEVICEOPERATINGSYSTEMLIST TT_DEVICEOPERATINGSYSTEMLIST

Device operating systems that the rule will match.

IT_NOTDEVICEOPERATINGSYSTEMS TYPE /AWS1/CL_WMLDEVOPERATINGSYST00=>TT_DEVICEOPERATINGSYSTEMLIST TT_DEVICEOPERATINGSYSTEMLIST

Device operating systems that the rule will not match. All other device operating systems will match.

IT_DEVICEUSERAGENTS TYPE /AWS1/CL_WMLDEVUSERAGENTLIST_W=>TT_DEVICEUSERAGENTLIST TT_DEVICEUSERAGENTLIST

Device user agents that the rule will match.

IT_NOTDEVICEUSERAGENTS TYPE /AWS1/CL_WMLDEVUSERAGENTLIST_W=>TT_DEVICEUSERAGENTLIST TT_DEVICEUSERAGENTLIST

Device user agents that the rule will not match. All other device user agents will match.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLCREMOBILEDEVACCR01 /AWS1/CL_WMLCREMOBILEDEVACCR01