docs: last seen before & after (#9096)

This commit is contained in:
Ben Potter
2023-08-16 18:20:03 -05:00
committed by GitHub
parent 02ee724d9f
commit fa8e103b0e
+2
View File
@@ -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.