Skip to content

/AWS1/CL_WDX=>GETCURRENTUSER()

About GetCurrentUser

Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.

This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_AUTHENTICATIONTOKEN TYPE /AWS1/WDXAUTHNTCTNHEADERTYPE /AWS1/WDXAUTHNTCTNHEADERTYPE

Amazon WorkDocs authentication token.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WDXGETCURRENTUSERRSP /AWS1/CL_WDXGETCURRENTUSERRSP