list_users
Retrieve all registered users on your App Store Connect team with options to filter by role, username, or visible apps, sort results, and control response details.
Instructions
Get a list of all users registered on your App Store Connect team
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of users to return (default: 100, max: 200) | |
| sort | No | Sort order for the results | |
| filter | No | ||
| include | No | Related resources to include in the response |
Implementation Reference
- src/handlers/users.ts:13-36 (handler)The core handler function listUsers that implements the tool logic by constructing query parameters and calling the App Store Connect API endpoint '/users'.
async listUsers(args: { limit?: number; sort?: UserSortOptions; filter?: UserFilters; include?: UserIncludeOptions[]; } = {}): Promise<ListUsersResponse> { const { limit = 100, sort, filter, include } = args; const params: Record<string, any> = { limit: sanitizeLimit(limit) }; if (sort) { params.sort = sort; } Object.assign(params, buildFilterParams(filter)); if (Array.isArray(include) && include.length > 0) { params.include = include.join(','); } return this.client.get<ListUsersResponse>('/users', params); } - src/types/users.ts:27-29 (schema)TypeScript interface defining the output structure ListUsersResponse used by the listUsers handler.
export interface ListUsersResponse { data: User[]; }