Skip to content

/AWS1/CL_OWX=>GRANTACCESS()

About GrantAccess

This action can be used only with Windows stacks.

Grants RDP access to a Windows instance for a specified time period.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEID TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

The instance's OpsWorks Stacks ID.

Optional arguments:

IV_VALIDFORINMINUTES TYPE /AWS1/OWXVALIDFORINMINUTES /AWS1/OWXVALIDFORINMINUTES

The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, they are logged out.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_OWXGRANTACCESSRESULT /AWS1/CL_OWXGRANTACCESSRESULT