---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / listUsers

# Function: listUsers()

> **listUsers**(`client`, `options`): `Promise`\<\{ \}\>

Defined in: [packages/b2c-tooling-sdk/src/clients/am-api.ts:300](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/am-api.ts#L300)

Lists users with pagination.

## Parameters

### client

[`AccountManagerUsersClient`](../type-aliases/AccountManagerUsersClient.md)

Account Manager Users client

### options

[`ListUsersOptions`](../interfaces/ListUsersOptions.md) = `{}`

List options (size, page)

## Returns

`Promise`\<\{ \}\>

Paginated user collection

## Throws

Error if request fails
