Sagiv R
Posts: 0
Joined: Sat Jan 31, 2015 1:59 pm

Users collection query

Hi,
I've created an app which requires a login.
I've added more columns to the Users collection such as firstname, lastname, country zipcode, etc.
When logging in, I try to retrieve not only the ID and session token but also the other user information such as firstname, lastname, etc.
What is the easiest way to do so?

Thanks

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Users collection query

Hello,

1) You need to make login
2) Save token
3) Use get service for your users collection with this token

Sagiv R
Posts: 0
Joined: Sat Jan 31, 2015 1:59 pm

Users collection query

OK,
I know how to perform steps 1 and 2.
How exactly do I perform step 3?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Users collection query

Hello Sagiv,

The process is described here http://devcenter.appery.io/documentat...
Most important for you is to define id and token

Sagiv R
Posts: 0
Joined: Sat Jan 31, 2015 1:59 pm

Users collection query

I'm sorry, I try to follow the instructions in the documentation, but keep failing.
First, I must mention I need to retrieve the user information dynamically, so the application will know to pull additional user information of any user logged in. As it described in the documentation it seems like the test is static - done per a specific user logged in.

Second, the documentation mention to use a GET request. Is this GET request part of the login service or shoulkd I create a new one from scratch? If I should create a new one from scratch, how do I do so?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Users collection query

Hello Sagiv,

Sorry for the delay, we are working on it.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Users collection query

Sagiv,

We recommend you go through this tutorial http://devcenter.appery.io/tutorials/... There you can find full user registration process, and there you can find answer at both of your questions. And please don't forget about http://devcenter.appery.io/documentat... to get your additional fields

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Users collection query

Hi

I have the same issue. I need to retrieve data from additional fields added to users collection. I cannot see in any of these tutorials where this is accomplished. Please can you point that out for me.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Users collection query

I tried creating a service, but does it not seem that I have authorization even though ACL is full read/write for all users.

Image

Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Users collection query

Hello Deon,

Have you created this http://devcenter.appery.io/documentat... service?

Could you send us screenshot with your request parameters and service settings tab?

Return to “Issues”