Page 1 of 3

Users collection query

Posted: Sat Jan 31, 2015 1:59 pm
by Sagiv R

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


Users collection query

Posted: Sat Jan 31, 2015 3:36 pm
by Alena Prykhodko

Hello,

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


Users collection query

Posted: Thu Feb 12, 2015 7:49 pm
by Sagiv R

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


Users collection query

Posted: Thu Feb 12, 2015 9:50 pm
by Evgene Karachevtsev

Hello Sagiv,

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


Users collection query

Posted: Fri Feb 13, 2015 6:37 am
by Sagiv R

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?


Users collection query

Posted: Mon Feb 16, 2015 7:07 am
by Evgene Karachevtsev

Hello Sagiv,

Sorry for the delay, we are working on it.


Users collection query

Posted: Mon Feb 16, 2015 11:36 am
by Evgene Karachevtsev

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


Users collection query

Posted: Thu Oct 29, 2015 12:48 pm
by Deon

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.


Users collection query

Posted: Thu Oct 29, 2015 1:32 pm
by Deon

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


Users collection query

Posted: Fri Oct 30, 2015 9:32 am
by Serhii Kulibaba

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?