mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
docs: last seen before & after (#9096)
This commit is contained in:
@@ -158,8 +158,10 @@ In the Coder UI, you can filter your users using pre-defined filters or by utili
|
||||
|
||||
- To find active users, use the filter `status:active`.
|
||||
- To find admin users, use the filter `role:admin`.
|
||||
- To find users have not been active since July 2023: `status:active last_seen_before:"2023-07-01T00:00:00Z"`
|
||||
|
||||
The following filters are supported:
|
||||
|
||||
- `status` - Indicates the status of the user. It can be either `active`, `dormant` or `suspended`.
|
||||
- `role` - Represents the role of the user. You can refer to the [TemplateRole documentation](https://pkg.go.dev/github.com/coder/coder/codersdk#TemplateRole) for a list of supported user roles.
|
||||
- `last_seen_before` and `last_seen_after` - The last time a used has used the platform (e.g. logging in, any API requests, connecting to workspaces). Uses the RFC3339Nano format.
|
||||
|
||||
Reference in New Issue
Block a user