Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 4: User login API – login registered users to a Backendless app
January 9, 2015 by markpiller
Spread the love

The feature 2 in this series (registering app users using Backendless API) talks about how to create user accounts. If your application uses the user registration API, odds are you will need to use the Login API as well. The API is rather trivial – it requires two parameters: a value which uniquely identifies the user and his password.

The code below demonstrates the API in action. It uses the same user which was registered in the code from feature 2:

Once user logs in, you can see it in Backendless console. For example, the screenshot below indicates that the user with ID spidey@backendless.com has logged in and you can see when. However, the other user has never logged in – the value for the lastLogin column for that user is empty.
user last login - Feature 4: User login API - login registered users to a Backendless app

Share this post
Tweet about this on TwitterShare on FacebookGoogle+