# Arbitrary account/user retrieval

**URL:** <https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357>\
**Category:** Runtime Framework\
**Tags:** users\
**Created:** [December 20, 2022, 1:31am UTC](https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357 "2022-12-20T01:31:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StudioRunGrizzly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/studiorungrizzly/32/1478_2.png) [@StudioRunGrizzly](https://forum.heroiclabs.com/u/StudioRunGrizzly)\
**Post date:** [December 20, 2022, 1:31am UTC](https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357/1 "2022-12-20T01:31:47Z")

</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 retrieve account/user info but they are not arbitrary, in the sense that you need to define specifically the account you want access to. I wonder if I can simply list all accounts currently registered to my server, and then filter through them with additional criteria.

If there is some built in way to achieve this that I am missing, I am all ears.

Appreciate the help as always.

---

<div class="post-metadata">

**Author:** ![ftkg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/ftkg/32/1180_2.png) [@ftkg](https://forum.heroiclabs.com/u/ftkg)\
**Post date:** [January 2, 2023, 2:18pm UTC](https://forum.heroiclabs.com/t/arbitrary-account-user-retrieval/3357/2 "2023-01-02T14:18:19Z")

</div>

Hi @StudioRunGrizzly,

What are some of your other use cases for this?

There’s no api for listing all registered users, but listing online players is possible by using streams ([Nakama: Streams | Heroic Labs Documentation](https://heroiclabs.com/docs/nakama/server-framework/streams/#listing-stream-presences))
