In the left-side navigation pane, click Tenant Management. On the Tenant Management page, click the name of a tenant in the Tenants list to go to the Overview page of the tenant. Then, click User Management in the left-side navigation pane to go to the User Management page. This topic describes the information and operations available on the User Management page.
Create a user
Click Create User in the upper-right corner of the User Management page. On the New User page, configure the Username, Password, Global Permissions, and Database Permissions fields. After the configurations are completed, click Submit.
Parameter |
Description |
|---|---|
| Username | The name of the user to be created. The username must meet the following requirements:
|
| Password | The password must meet the following requirements:
|
| Confirm Password | Enter the password again for confirmation. If the two passwords do not match, an error message The two entered new passwords do not match, please enter again will be displayed. |
| Global Privileges (Optional) | Select the privileges that the user can have. The privileges you set apply to all databases. By default, the user has no privileges if no privilege is specified. |
| Database Privileges | Set the privileges of the user on each database. The privileges apply to all targets in the specified database. To configure database privileges, perform the following operations:
|
Lock a user
You can enable or disable the lock for a user by switching the toggle switch in the Lock column. If the user is not locked, click
. In the window that appears, click OK to lock the user. The locked user is not allowed to log in. Proceed with caution. If the user is locked, click
. In the window that appears, click OK to unlock the user. The unlocked user is allowed to log in.
Change the password
Click Change Password in the Actions column. In the window that appears, specify a new password in the New Password field and enter the password again in the Confirm Password field. Then, click OK to change the password.
Modify privileges
Click Modify Permission in the Actions column to modify the global and database privileges of the corresponding user. The procedure is as follows:
Select one or more databases from the left list. The left list displays all databases available in the current cluster. You can also search for a specific database in the search box on the left.
Click the > button in the middle. The selected databases are then moved to the right list.
Select the privileges that the user can have in the specified database from the right list. Click All in the upper-right corner of a database to grant all privileges of the database to the user.
Repeat steps 1, 2, and 3 to set user privileges for different databases. You can also search for a specific database in the search box on the right.
To revoke the user privileges on a database, click Delete in the upper-right corner of the database in the right list. The database is then moved back to the left list. You can also click Remove All in the upper-right corner of the right list. In the window that appears, click OK to move all databases in the right list back to the left list.
Click Submit after the privileges are set.
Delete a user
Click Delete in the Actions column. In the window that appears, enter delete and click Delete to delete the corresponding user. Deleting a user also deletes all objects and data owned by the user. Proceed with caution.
