Skip to content

/AWS1/CL_SSO=>LISTACCOUNTS()

About ListAccounts

Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see Assign User Access in the IAM Identity Center User Guide. This operation returns a paginated response.

Method Signature

IMPORTING

Required arguments:

IV_ACCESSTOKEN TYPE /AWS1/SSOACCESSTOKENTYPE /AWS1/SSOACCESSTOKENTYPE

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SSONEXTTOKENTYPE /AWS1/SSONEXTTOKENTYPE

(Optional) When requesting subsequent pages, this is the page token from the previous response output.

IV_MAXRESULTS TYPE /AWS1/SSOMAXRESULTTYPE /AWS1/SSOMAXRESULTTYPE

This is the number of items clients can request per page.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSOLISTACCTSRESPONSE /AWS1/CL_SSOLISTACCTSRESPONSE

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC