How to manipulate user accounts

This topic tells you how to manipulate user accounts with Security Manager.

Security Manager provides an easy way to add, alter, or remove users visually without typing an SQL code. To open Security Manager, on the Database menu, select Security Manager.

Creating a User Account

  1. Open Security Manager.
  2. Click Create User above the User List


    right-click a user and select New User from the shortcut menu.

  3. Fill in the Name, Database, Password, and Confirm Password fields.
  4. Grant necessary privileges to a user. For information about granting privileges to user, see the Granting Privileges on Database Objects, and Using Roles in Security Manager topics.
  5. Optionally, set the server resources limit for the user.
  6. Click Save on the Security Manager toolbar.

Duplicating Users

dbForge Studio allows you to create a new user, based on the existing one. To do it, right-click a user in Security Manager, and then click Duplicate Object on the shortcut menu. The right part of the editor will contain a new user, that is an exact copy of the existing one except its name. Make changes to the user if you need and save it. Note that no user will be created until you save the changes.

Editing a User Account

Open Security Manager and select the required user account in the tree. After editing, click Save on the Security Manager toolbar to apply changes. If you want to discard changes, click Undo on the Security Manager toolbar. You can view SQL statements that should be executed to apply changes. To view them, click Script Changes on the Security Manager toolbar.

Deleting a User Account

Open Security Manager, right-click the account you want to delete, and then click Delete on the shortcut menu. Alternatively, select the required user in the list and click Delete above the user List, or press the DELETE key.