# Role Management

#### Procedure

1. On the top menu bar, choose Account Management > Role Management.
2. On the role management page, click Create Role in the upper left corner.
3. Set the parameters on the Basic Information, Data Permissions, and Role Permissions tab pages.

   On the Basic Information tab, enter a role name (mandatory), set a password, and confirm the password. You can select a role name from role members to assign the permissions of an existing role to the current role. If you do not need to set data permissions and role permissions for the role, click Save in the lower part of the page and then click OK in the displayed SQL Preview dialog box.

   If no password is set for the role (for example, role_03) or Allow Login is not selected for the role, role_03 cannot be used to log in to the database. If the permissions of role_03 are then assigned to another role (for example, test_02), test_02 will have all the permissions of role_03.

4. (Optional) On the Data Permissions tab, click Add. On the displayed page, set parameters as required, and then click OK. If you do not need to set other options, click Save in the lower part of the page and then click OK in the displayed SQL Preview dialog box.
5. (Optional) On the Role Permissions tab, click Add. On the displayed page, select a resource type, role name, and permissions as required, and then click OK. If you do not need to set other options, click Save in the lower part of the page and then click OK in the displayed SQL Preview dialog box.
6. On the role management page, edit existing roles if needed. For how to edit a role, see 3 to 5. Delete existing roles if needed. Deleted roles cannot be restored. Exercise caution when performing this operation.

   The admin, monitor, backupuser, and rwuser roles are system roles and cannot be edited or deleted.

Parent topic: Other Operations