# Show full name in admin's user list

**URL:** <https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053>\
**Category:** Product Support\
**Created:** [October 23, 2020, 10:11am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053 "2020-10-23T10:11:30Z")\
**Posts on this page:** 8\
**Page:** 1

## AI-generated summary

A user, [Jonathan5](/t/-/168053/1), wants to display full names in the admin's user list, in addition to usernames. [pfaffman](/t/-/168053/2) suggests that Discourse may not display both if the admin username matches their real name, but [Jonathan5](/t/-/168053/3) clarifies that the real names are different.

A potential solution is proposed by [hawm](/t/-/168053/6), who suggests creating a plugin to add the real name field to the serialization data or using a theme component to render it on the client side. [hawm](/t/-/168053/8) also provides links to relevant Discourse code and notes that a future commit may support searching by name.

Another user, [nathank](/t/-/168053/7), expresses interest in this feature and shares a related discussion, highlighting the complexity of implementing it.

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [October 23, 2020, 10:11am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/1 "2020-10-23T10:11:30Z")

</div>

In the normal user directory on my site at `/u`/ it shows username in bold, followed by full name.

In the admin’s user list at `/admin/users/list/active` only the username is shown. Is it possible to change this?

Thanks.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 23, 2020, 11:07am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/2 "2020-10-23T11:07:11Z")

</div>

Does the admin username match their real name? In they case discourse does not display them both since they are the same. There is a setting to have your displayed anyway.

---

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [October 23, 2020, 11:28am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/3 "2020-10-23T11:28:11Z")

</div>

Thanks but the real names are different (which is why I’d like to be able to see them at a glance on the admin list). I enabled that full name setting, as far as I remember.

---

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [November 9, 2020, 2:11pm UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/4 "2020-11-09T14:11:32Z")

</div>

Any ideas here? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [February 4, 2021, 6:31pm UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/5 "2021-02-04T18:31:31Z")

</div>

Is it possible to have the real name in the admin-side user list? Thanks.

---

<div class="post-metadata">

**Author:** ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)\
**Post date:** [February 5, 2021, 11:34am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/6 "2021-02-05T11:34:56Z")

</div>

I think it can be possible. Just need you to create a plugin implement some functions that add the real name field to the serialization data, and one new column for real name on the web view.

Edit: I found the real name field are already exist in the responsed json data, so you might have no necessary to create a plugin and operate the servers logic, just a theme component/widget to render it on client side only.

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [May 14, 2021, 10:00pm UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/7 "2021-05-14T22:00:54Z")

</div>

We’d like to have this too - display `Name` as a column and include it in the search. This has been asked for before:

> [@User search: No name, no custom fields?](https://meta.discourse.org/t/user-search-no-name-no-custom-fields/178378):
>
> I’m curious if I’m missing something: Does the user search in admin really only search usernames and email addresses? We’re using discourse for a closed groups where people use their real names on the name field and we need to search them regularly to remove users that are not longer part of the group. We also added a custom field that’s only visible to admin where they enter a number for clear identification. That also doesn’t seem to be searchable. Is there anything I am missing or is it just…

It looks a little more complicated to arrange than a little CSS fiddle. Can anyone help with how this would be approached? Or perhaps provide the SQL used to build the page so it can be replicated (and modified) in [Data Explorer](https://meta.discourse.org/t/32566?silent=true)?

---

<div class="post-metadata">

**Author:** ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)\
**Post date:** [May 15, 2021, 5:21am UTC](https://meta.discourse.org/t/show-full-name-in-admins-user-list/168053/8 "2021-05-15T05:21:37Z")

</div>

You can take a look:  
[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/admin/addon/controllers/admin-users-list-show.js](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/admin/addon/controllers/admin-users-list-show.js)

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/admin/addon/models/admin-user.js](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/admin/addon/models/admin-user.js)

Edit:  
I just found this commit, it may support search by `Name` in the near future by Discourse.  
[https://github.com/discourse/discourse/commit/e29605b79f25afac2d506c6371e1b528f120b670](https://github.com/discourse/discourse/commit/e29605b79f25afac2d506c6371e1b528f120b670)
