Blog

How to Enable or Disable Users of Your Mobile Application

by on September 1, 2019

Now that you know how to register and login users for your application, you might be wondering what degree of control over user accounts you have with Backendless. As a developer of a Backendless-powered app, the Console is the ultimate tool where you can control all aspects of your app, including user management.

There many features in Backendless Console (the Recipe series describes all of them). This post focuses on how Backendless lets you enable or disable users. To experience the feature, you need to have at least one user registered with your application. You can create a user by running the code from this example. Once you have a registered user, follow the instructions below:

  1. Login to Backendless Console, select an app and click the Data icon.
  2. The Users table should be selected by default. The table shows all the users registered with your application.
  3. Find the user that should be disabled (or enabled) and locate the userStatus column. The cells in the column contain a drop-down box with the Enabled and Disabled values.
  4. To change the user status, make a selection in the drop-down box. Once a user’s account is disabled, they will not be able to log in and any API operations executed on behalf of the user will be immediately suspended.

The image below shows the userStatus column and the pencil icon to save the change as described above:

enable-disable-user

Leave a Reply