Member query APIs return paginated or live collection results depending on the platform. Use pagination controls for large communities.
Parameters
Common Parameters
Query Filters
Query Sort Options
Query members when you need a paginated member list with membership, role, deletion, and sort filters.
Search Community Members
Search APIs use the same community and role controls, plus a keyword/display-name search input.Search Filters
Search Sort Options
Excluding Roles
UseexcludingRoles when you need a member list that removes users with any role in the exclusion list. It is available in TypeScript, iOS, and Android, on both the member query and the member search APIs. Flutter exposes excludingRoles on neither builder.
How it resolves:
- A member is removed if they hold any role in the list — not only if they hold all of them.
- An empty list applies no exclusion, so you can pass one unconditionally and let the caller decide. iOS and Android default the parameter to an empty list; in TypeScript it is optional.
rolesandexcludingRolescombine as an intersection: a member is returned only if they matchrolesand hold none of the roles inexcludingRoles. Listing the same role in both therefore yields no members.
Related Topics
Join / Leave Community
Manage joining and leaving communities.
Member Management
Add and remove community members.
Community Moderation
Manage roles, bans, and permissions.
Roles & Permissions
Understand role-based access control.