Skip to content

/AWS1/CL_IDS=>LISTUSERS()

About ListUsers

Lists all users in the identity store. Returns a paginated list of complete User objects. Filtering for a User by the UserName attribute is deprecated. Instead, use the GetUserId API action.

If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.

Method Signature

IMPORTING

Required arguments:

IV_IDENTITYSTOREID TYPE /AWS1/IDSIDENTITYSTOREID /AWS1/IDSIDENTITYSTOREID

The globally unique identifier for the identity store, such as d-1234567890. In this example, d- is a fixed prefix, and 1234567890 is a randomly generated string that contains numbers and lower case letters. This value is generated at the time that a new identity store is created.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/IDSMAXRESULTS /AWS1/IDSMAXRESULTS

The maximum number of results to be returned per request. This parameter is used in the ListUsers and ListGroups requests to specify how many results to return in one page. The length limit is 50 characters.

IV_NEXTTOKEN TYPE /AWS1/IDSNEXTTOKEN /AWS1/IDSNEXTTOKEN

The pagination token used for the ListUsers and ListGroups API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.

IT_FILTERS TYPE /AWS1/CL_IDSFILTER=>TT_FILTERS TT_FILTERS

A list of Filter objects, which is used in the ListUsers and ListGroups requests.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IDSLISTUSERSRESPONSE /AWS1/CL_IDSLISTUSERSRESPONSE