# Find users by ID

**URL:** https://meta.discourse.org/t/find-users-by-id/70952
**Category:** Feature
**Created:** [2017年九月28日 14:37 UTC](https://meta.discourse.org/t/find-users-by-id/70952 "2017-09-28T14:37:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2017年九月28日 14:37 UTC](https://meta.discourse.org/t/find-users-by-id/70952/1 "2017-09-28T14:37:42Z")

</div>

Certain Discourse logs use user ID to identify users instead of usernames. However, it is not currently possible to look up users via ID.

- Attempting to navigate by user ID as admin fails: `discourse.example.com/admin/users/12345`, it appears as though the username must be included to be routed.
- Searching by ID on the `/admin/users` also fails.

Given that all `/admin` routes are already staff only, allowing `/admin/users/user_id` to route without the username shouldn’t be a security risk.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2017年九月28日 14:54 UTC](https://meta.discourse.org/t/find-users-by-id/70952/2 "2017-09-28T14:54:31Z")

</div>

You can just go to `discourse.example.com/admin/users/12345/-` 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年九月28日 19:18 UTC](https://meta.discourse.org/t/find-users-by-id/70952/3 "2017-09-28T19:18:03Z")

</div>


