Doo Dad
Posts: 0
Joined: Sun May 11, 2014 8:04 pm

How to return extra column in logonservice to identify Admin usertype

Hi

I am using the default loginservice provided by Appery and I would like to get an extra column from the users collection to be returned as part of the response. The extra column would be a Boolean Admin .. to identify extra rights for the user.

How can I accomplish this without creating a new service ?

Thanks
DD

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

How to return extra column in logonservice to identify Admin usertype

Hello,

You can modify imported Service, add required Response fields manually.
http://devcenter.appery.io/documentat...

Doo Dad
Posts: 0
Joined: Sun May 11, 2014 8:04 pm

How to return extra column in logonservice to identify Admin usertype

So .....
The link you provided does not discuss anything about importing an existing service

Can you explain how to import an existing service ?

Specifically the loginservice ?

Thanks
DD

Doo Dad
Posts: 0
Joined: Sun May 11, 2014 8:04 pm

How to return extra column in logonservice to identify Admin usertype

Hangon ... before you tell me how to import a service in the project designer ...
which I already know of course ...

I would really like to know how to import a service, such as the loginservice in the Users collection and subsequently modify it to handle an extra column the the Users collection ....

Thanks again

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to return extra column in logonservice to identify Admin usertype

Hi Doo,

Please follow these steps:

1 Click "Create New" and select "Database services". http://prntscr.com/4gt3sy/direct

2 Select DB and select "signIn" service. http://prntscr.com/4gt4l8/direct

3 Then when import will done, open this service.

4 Navigate to "Request" tab.

5 Add custom request parameter that you need. http://prntscr.com/4gt5h2/direct

That's all.

Regards.

Return to “Issues”