Skip to content

Commit 15ddf2a

Browse files
committed
Add docs for user filtering
1 parent 3121ccc commit 15ddf2a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/admin/users.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,15 @@ kubectl exec -it deployment/coder /bin/bash -n coder
129129

130130
coder reset-password <username>
131131
```
132+
133+
## Filtering users
134+
135+
In the Coder UI you can filter your users using the pre-defined filter or by using the Coder's filter query like the examples below:
136+
137+
- `status:active` to find active users
138+
- `role:admin` to find admin users
139+
140+
The supported filters are:
141+
142+
- `status` - The status of the user. It can be a `active` or `suspended`.
143+
- `role` - The role of the user. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#TemplateRole) all the user roles that are supported.

0 commit comments

Comments
 (0)