# Is it possible to search for players by name? 

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-search-for-players-by-name/2858375>\
**Category:** Accounts & Social\
**Tags:** epic-online-services, question\
**Created:** [August 29, 2025, 8:12am UTC](https://forums.unrealengine.com/t/is-it-possible-to-search-for-players-by-name/2858375 "2025-08-29T08:12:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 29, 2025, 8:12am UTC](https://forums.unrealengine.com/t/is-it-possible-to-search-for-players-by-name/2858375/1 "2025-08-29T08:12:45Z")

</div>

Hello,

Is there a way we can allow the user to search for other players by typing in their Epic Account display name using the EOS SDK? Similar to how you can search for players to add them as friends using the Social Overlay

Thanks,

James

---

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [August 29, 2025, 9:18am UTC](https://forums.unrealengine.com/t/is-it-possible-to-search-for-players-by-name/2858375/2 "2025-08-29T09:18:06Z")

</div>

Yes, you can use the _EOS\_UserInfo\_QueryUserInfoByDisplayName_ API to map a display name to its account identifier (Epic Account ID).

[https://dev.epicgames.com/docs/epic-account-services/eos-user-info-interface\#retrieving-user-info-by-display-name](https://dev.epicgames.com/docs/epic-account-services/eos-user-info-interface%5C#retrieving-user-info-by-display-name)

You can then use this Epic Account ID with the _EOS\_Connect\_QueryExternalAccountMappings_ API to get the EOS Product User ID, if you need this for lobby or session searches.

[https://dev.epicgames.com/docs/game-services/connect/connect-reference\#retrieve-product-user-id-mappings](https://dev.epicgames.com/docs/game-services/connect/connect-reference%5C#retrieve-product-user-id-mappings)

[https://dev.epicgames.com/docs/game-services/lobbies-and-sessions/sessions/search-for-a-session\#configure-for-user-id](https://dev.epicgames.com/docs/game-services/lobbies-and-sessions/sessions/search-for-a-session%5C#configure-for-user-id)

[https://dev.epicgames.com/docs/game-services/lobbies-and-sessions/lobbies/search-for-a-lobby\#search-by-user-id](https://dev.epicgames.com/docs/game-services/lobbies-and-sessions/lobbies/search-for-a-lobby%5C#search-by-user-id)

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 29, 2025, 9:26am UTC](https://forums.unrealengine.com/t/is-it-possible-to-search-for-players-by-name/2858375/3 "2025-08-29T09:26:29Z")

</div>

Ah perfect. I must have missed this when browsing the docs!

Thanks!
