Click Tenant Management in the left-side navigation pane. On the Tenant Management page, click the name of the tenant in the Tenant List. On the Overview page of the tenant, click User Management in the left-side navigation pane to go to the User Management page. This topic describes the information on the User Management page and the operations that you can perform on this page.
Create a user
On the User Management page, click Create User in the upper-right corner. On the Create Database User page, set the Username, Password, Global Privileges, and Database Privileges. After the settings are completed, click Submit.
| Parameter | Description |
|---|---|
| Username | The username must meet the following requirements:
|
| Password | The password must meet the following requirements:
|
| Confirm Password | Enter the password again to confirm. If the two passwords are inconsistent, a message is displayed: The two new passwords are inconsistent. Please re-enter them.. |
| Global Privileges (Optional) | Select the privileges that the user can have from the drop-down list. The privileges apply to all databases. If no privileges are selected, the user has no privileges. |
| Database Privileges | Set the privileges of the user for each database. The privileges apply to all targets in the specified database. The setting method is as follows:
|
Lock a user
You can lock a user by using the switch icon in the Locked column. If the user is not locked, click the switch icon to lock the user. In the dialog box that appears, click OK. The locked user will be unable to log in. Proceed with caution. If the user is locked, click the switch icon to unlock the user. In the dialog box that appears, click OK. The unlocked user will be able to log in.
Change the password
Click the Change Password field in the Actions column. In the dialog box that appears, enter the New Password and Confirm Password. After you finish the entries, click OK to change the user's password.
Modify Permissions
Click the Modify Permissions field in the Actions column to modify the global and database permissions of the corresponding user. The modification steps are as follows:
Select one or more databases from the left list box. The left list box displays all available databases in the current cluster. You can also search for a specific database in the left search box.
Click the > button in the middle. The selected databases will be moved to the right list box.
In the right list box, select the permissions that the user can have for the specified database. Click the All field in the top right corner of the corresponding database to grant the user all permissions for the current database.
Repeat steps 1, 2, and 3 to set user permissions for different databases. If there are too many databases in the right list box, you can search for a specific database in the right search box.
To cancel the user's permissions for a specified database, click the Delete field in the top right corner of the database in the right list box to move it back to the left list box. You can also click the Remove All field in the top right corner of the right list box, and then click OK in the pop-up window to move all databases in the right list box back to the left list box.
After setting the permissions, click Submit to complete the modification.
Delete a User
Click the Delete field in the Actions column, enter delete in the pop-up window, and then click Delete to delete the corresponding user. Deleting a user will also delete all objects and data under the user. Proceed with caution.