# List current project users

Canonical page: https://docs.ovok.com/api/slim/project/list-current-project-users

`GET /v1/slim/project/users`

Lists the practitioner memberships of your current project, with each member's user, profile, access policy and invite status. Use it to render a project's team list.

**Auth:** Bearer token for a practitioner, project admin or System Owner session. The caller's access policy must grant `Practitioner:read` (a project admin who holds no access policy skips this check). The session must carry a project.
**Scope:** The caller's project (from the token).

## Behaviour

- Returns one row per `ProjectMembership` of `profileType` (`Practitioner`) that has both a user and a profile. Memberships whose user or profile cannot be resolved are left out.
- `status` is `Pending` while the user has an unused invite or has never set a password, and `Active` otherwise.
- `accessPolicyId`, `profileId` and `userId` narrow the memberships by exact id.
- `search` is a fuzzy match over the profile name, the user name and the access policy name.
- `sortBy` defaults to `profileName` and `orderBy` to `ASC`. Rows with an empty sort value go last in `ASC` and first in `DESC`.
- Paging is in memory: `page` (default `0`) and `count` (default `20`, 1 to 100). `total` counts the rows after `search`, before paging.
- Answers are cached for up to about a minute, so a member added or removed a moment ago can be missing or still listed.


## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/slim/project/users?sortBy=userName&orderBy=ASC&page=0&count=20' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
