Skip to content

Commit fa8e103

Browse files
authored
docs: last seen before & after (coder#9096)
1 parent 02ee724 commit fa8e103

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/admin/users.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,10 @@ In the Coder UI, you can filter your users using pre-defined filters or by utili
158158

159159
- To find active users, use the filter `status:active`.
160160
- To find admin users, use the filter `role:admin`.
161+
- To find users have not been active since July 2023: `status:active last_seen_before:"2023-07-01T00:00:00Z"`
161162

162163
The following filters are supported:
163164

164165
- `status` - Indicates the status of the user. It can be either `active`, `dormant` or `suspended`.
165166
- `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.
167+
- `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.

0 commit comments

Comments
 (0)