# 如何按用户名以外的任何内容搜索用户？

**URL:** <https://meta.discourse.org/t/how-do-i-search-for-users-by-anything-other-than-username/185558>\
**Category:** Support\
**Created:** [2021年三月27日 14:21 UTC](https://meta.discourse.org/t/how-do-i-search-for-users-by-anything-other-than-username/185558 "2021-03-27T14:21:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fraudoctor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fraudoctor/32/196687_2.png) [@Fraudoctor](https://meta.discourse.org/u/Fraudoctor)\
**Post date:** [2021年三月27日 14:21 UTC](https://meta.discourse.org/t/how-do-i-search-for-users-by-anything-other-than-username/185558/1 "2021-03-27T14:21:47Z")

</div>

有人知道如何按名字、姓氏、兴趣或头衔搜索用户吗？除了“用户名”之外还有其他方法吗？

---

<div class="post-metadata">

**Author:** ![raffoz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raffoz/32/269135_2.png) [@raffoz](https://meta.discourse.org/u/raffoz)\
**Post date:** [2022年八月1日 06:17 UTC](https://meta.discourse.org/t/how-do-i-search-for-users-by-anything-other-than-username/185558/2 "2022-08-01T06:17:01Z")

</div>

在管理员设置中，启用“使用姓名作为用户名建议”。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年八月1日 09:29 UTC](https://meta.discourse.org/t/how-do-i-search-for-users-by-anything-other-than-username/185558/3 "2022-08-01T09:29:19Z")

</div>

该设置用于在注册时帮助选择用户名，而不是协助用户搜索：

 ![use username](https://global.discourse-cdn.com/meta/original/4X/3/7/a/37aa578d4aa79a673dd129299e368cacc783ff1e.jpeg)

我相信默认情况下，当人们搜索用户名、姓名、头衔或您可能添加的任何自定义用户字段时，搜索这些字段将找到合适的人。👍
