# \#users

**URL:** https://forum.heroiclabs.com/tag/users/38.md

[Latest](https://forum.heroiclabs.com/latest.md) · [Categories](https://forum.heroiclabs.com/categories.md) · [Tags](https://forum.heroiclabs.com/tags.md)

---

## [Last online datetime for user](https://forum.heroiclabs.com/t/last-online-datetime-for-user/5698)

<div class="topic-metadata">

**Author:** [@jell-o-fishi](https://forum.heroiclabs.com/u/jell-o-fishi)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 3:43pm UTC](https://forum.heroiclabs.com/t/last-online-datetime-for-user/5698 "2024-10-22T15:43:06Z")

</div>

Hi Could not find in the forums or the documentation any mention of whether the last time a user was online is stored or is accessible in the system. Either by logging the last login or some sort of keep-alive message. …

---

## [How can I search users by display name (not username)?](https://forum.heroiclabs.com/t/how-can-i-search-users-by-display-name-not-username/1408)

<div class="topic-metadata">

**Author:** [@RustamMG](https://forum.heroiclabs.com/u/RustamMG)\
**Replies:** 5\
**Last updated:** [May 4, 2023, 1:02pm UTC](https://forum.heroiclabs.com/t/how-can-i-search-users-by-display-name-not-username/1408 "2023-05-04T13:02:50Z")

</div>

It is possible to search users by display name? nakama has search by username or userid but if player want add some user to his friends list and he know only display name of user it is possible? also search by username i…

---

## [Arbitrary account/user retrieval](https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357)

<div class="topic-metadata">

**Author:** [@StudioRunGrizzly](https://forum.heroiclabs.com/u/StudioRunGrizzly)\
**Replies:** 1\
**Last updated:** [January 2, 2023, 2:18pm UTC](https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357 "2023-01-02T14:18:19Z")

</div>

Hello Nakamites I am trying to write some simple QOL console tools for my Nakama backend. Specifically, right now I am trying to get a list of currently online users via an RPC server call. There are many ways to retri…

---

## [Get or ban user by custom id](https://forum.heroiclabs.com/t/get-or-ban-user-by-custom-id/3086)

<div class="topic-metadata">

**Author:** [@ahamed](https://forum.heroiclabs.com/u/ahamed)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 3:53am UTC](https://forum.heroiclabs.com/t/get-or-ban-user-by-custom-id/3086 "2022-09-29T03:53:09Z")

</div>

Hi, We implemented a custom authentication flow using the custom id feature in one of our social chatting apps from the frontend. Our server backend does not have any idea regarding Nakama and we would like to keep it t…

---

## [How can I refresh a cached username after it has been updated?](https://forum.heroiclabs.com/t/how-can-i-refresh-a-cached-username-after-it-has-been-updated/1950)

<div class="topic-metadata">

**Author:** [@Mehoo462](https://forum.heroiclabs.com/u/Mehoo462)\
**Replies:** 4\
**Last updated:** [December 22, 2021, 11:58pm UTC](https://forum.heroiclabs.com/t/how-can-i-refresh-a-cached-username-after-it-has-been-updated/1950 "2021-12-22T23:58:54Z")

</div>

I’m seeing some unexpected behavior when updating usernames. When the client sends a Username update to the server I can see the new Username in the Developer Console. But if I then try to fetch the Username I get the…

---

## [How can I refresh the cache after a user changes their username?](https://forum.heroiclabs.com/t/how-can-i-refresh-the-cache-after-a-user-changes-their-username/1745)

<div class="topic-metadata">

**Author:** [@nixarn](https://forum.heroiclabs.com/u/nixarn)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 7:22pm UTC](https://forum.heroiclabs.com/t/how-can-i-refresh-the-cache-after-a-user-changes-their-username/1745 "2021-07-07T19:22:37Z")

</div>

Because Nakama caches the username and doesn’t update the cache when you change it (is this a bug?) I wanted to call SessionRefreshAsync() to fix the cache, but when I do this call, I keep getting an API Response Excepti…

---

## [UnlinkEmail takes a password argument but does not use it](https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762)

<div class="topic-metadata">

**Author:** [@Mike](https://forum.heroiclabs.com/u/Mike)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 4:41pm UTC](https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762 "2021-07-06T16:41:26Z")

</div>

This appears to be somewhat useful - the user can unlink while having forgotten their password. We’re using it that way right now, but we’re worried that this may indeed be a bug, and that it will stop working this way …

---

## [Could you help with a database query to compare Nakama users with phone contacts?](https://forum.heroiclabs.com/t/could-you-help-with-a-database-query-to-compare-nakama-users-with-phone-contacts/1713)

<div class="topic-metadata">

**Author:** [@YoursTruly](https://forum.heroiclabs.com/u/YoursTruly)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 10:22pm UTC](https://forum.heroiclabs.com/t/could-you-help-with-a-database-query-to-compare-nakama-users-with-phone-contacts/1713 "2021-06-17T22:22:31Z")

</div>

Hello, We have phonebook/Contact list in json. We wanted to compare the mobile numbers and email address from this contact list to database in a single go. We are trying to pass array in sql query and not sure how to p…

---

## [How should I check if an account already exists to decide if the user should register or login?](https://forum.heroiclabs.com/t/how-should-i-check-if-an-account-already-exists-to-decide-if-the-user-should-register-or-login/658)

<div class="topic-metadata">

**Author:** [@magicbananacake](https://forum.heroiclabs.com/u/magicbananacake)\
**Replies:** 6\
**Last updated:** [June 3, 2021, 9:12am UTC](https://forum.heroiclabs.com/t/how-should-i-check-if-an-account-already-exists-to-decide-if-the-user-should-register-or-login/658 "2021-06-03T09:12:48Z")

</div>

Hello, I have login page and registration page. My users have accounts through email. Login functionality is pretty simple Client.AuthenticateEmailAsync(email, password,create: false);, but how can I make register functi…
