# Ionic DB User Information

**URL:** <https://forum.ionicframework.com/t/ionic-db-user-information/77850>\
**Category:** ionic-v3\
**Created:** [January 30, 2017, 5:11pm UTC](https://forum.ionicframework.com/t/ionic-db-user-information/77850 "2017-01-30T17:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeHillyard](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@JoeHillyard](https://forum.ionicframework.com/u/JoeHillyard)\
**Post date:** [January 30, 2017, 5:11pm UTC](https://forum.ionicframework.com/t/ionic-db-user-information/77850/1 "2017-01-30T17:11:00Z")

</div>

I’m new to IonicDB so i could be missing something, but im trying to pull all users from the DB and return a subset based on a set of criteria. Looking at the user collection in Database management, I can only see the user\_id field. Is there any additional config required?

I also noticed the user collection contained ~19 documents where i only have 3 current users, im assuming a difference between active users in Auth Service and user information in DB. Does anyone know how the synchronisation works?

Any help would be appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![Code\_Ant](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Code\_Ant](https://forum.ionicframework.com/u/Code_Ant)\
**Post date:** [February 19, 2017, 4:14pm UTC](https://forum.ionicframework.com/t/ionic-db-user-information/77850/2 "2017-02-19T16:14:49Z")

</div>

You can find how to get user details here: [Ionic Docs - Ionic Documentation](https://docs.ionic.io/services/auth/#user-details)

> User Details

You can find query here : [Ionic Docs - Ionic Documentation](https://docs.ionic.io/api/endpoints/db.html)

> POST /db/collections/:name/documents/query  
> List documents within a collection matching query

If you use .singup(), Ionic db will create a user in both Auth and ‘users’ collection. You can add in more users in ‘users’ collection directly and thus bypass Auth. I guess thats why there is a discrepency in number of documents.

Still new to ionic DB too. Correct me if I am wrong.
