Now that you know how to register and login users for your application, you might be wondering what degree of control over your 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. 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. Once a user’s account is disabled, he will not be able to log in and any API operations executed on behalf of the user will be immediately suspended.