Skip to content

/AWS1/CL_SSO=>LISTACCOUNTROLES()

About ListAccountRoles

Lists all roles that are assigned to the user for a given AWS account.

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.

IV_ACCOUNTID TYPE /AWS1/SSOACCOUNTIDTYPE /AWS1/SSOACCOUNTIDTYPE

The identifier for the AWS account that is assigned to the user.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SSONEXTTOKENTYPE /AWS1/SSONEXTTOKENTYPE

The page token from the previous response output when you request subsequent pages.

IV_MAXRESULTS TYPE /AWS1/SSOMAXRESULTTYPE /AWS1/SSOMAXRESULTTYPE

The number of items that clients can request per page.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSOLISTACCTLESRSP /AWS1/CL_SSOLISTACCTLESRSP