Skip to content

/AWS1/CL_FMS=>LISTADMINACCOUNTSFORORG()

About ListAdminAccountsForOrganization

Returns a AdminAccounts object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.

This operation can be called only from the organization's management account.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/FMSPAGINATIONTOKEN /AWS1/FMSPAGINATIONTOKEN

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

IV_MAXRESULTS TYPE /AWS1/FMSPAGINATIONMAXRESULTS /AWS1/FMSPAGINATIONMAXRESULTS

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FMSLSTADMINACCTSFOR01 /AWS1/CL_FMSLSTADMINACCTSFOR01