Now that you know how to register and login users for your application, you might be wondering what degree of control 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. There many features in the Backendless console (and this series will describe all of them), but this post focuses on the feature that lets you enable or disable users. To experience the feature you need to have at least one user registered with the application. You can create a user by running the code from this example. Once you have a registered user, follow the instructions below:
- Login to console, select and app and click the Data icon.
- The Users table should be selected by default. The table shows all the users registered with your application.
- Find the user which 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.
- To change the user status, make a selection in the drop-down box and then scroll the datatable horizontally all the way to the right.
- Click the pencil icon to save the change. Once user’s account is disabled, he will not be able to log in and any API operations executed in behalf of the user will be immediately suspended.