From fa8e103b0e4332eaabaf2e8546cf9f19796a48ad Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Wed, 16 Aug 2023 18:20:03 -0500 Subject: [PATCH] docs: last seen before & after (#9096) --- docs/admin/users.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/admin/users.md b/docs/admin/users.md index b8edeb1619..fef44a0877 100644 --- a/docs/admin/users.md +++ b/docs/admin/users.md @@ -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.