MS SQL Maestro online Help
Users
A user passes through two stages of security when working in Microsoft® SQL Server™: authentication and authorization (permissions validation). The authentication stage identifies the user using a login account and verifies only the ability to connect to an instance of SQL Server. If authentication is successful, the user connects to an instance of SQL Server. The user then needs permissions to access databases on the server performed by granting access to an account in each database, mapped to the user login.
Every database cluster contains a set of database users. Those users are separate from the users managed by the operating system under which the server runs. Users own database objects (for example, tables) and can assign privileges on those objects to other users to control who has access to which object.
Note: Use of roles simplifies security administration in databases with a large number of users or with a complex security system.
New database users are created within Create User Wizard. In order to run the wizard you should either
| • | select the Object | Create Database Object... main menu item; |
| • | select the User icon in the Create Database Object dialog |
or
| • | select the Users list or any object from that list in the explorer tree; |
| • | select the Create New User... item from the popup menu |
or
| • | open the database in Database Editor and the Users tab there; |
| • | press the Insert key or select the Create New User... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar). |
To create a new database user with the same properties as one of the existing users has:
| • | select the Object | Duplicate Database Object... main menu item; |
| • | follow the instructions of Duplicate Object Wizard. |
|
Database Users can be edited within User Editor. In order to run the editor you should either
| • | select the user for editing in the explorer tree (type the first letters of the user name for quick search); |
| • | select the Edit User ... item from the popup menu |
or
| • | open the database in Database Editor and the Users tab there; |
| • | select the user to edit; |
| • | press the Enter key or select the Edit User item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar). |
You can change the name of the user using the Rename User dialog. To open the dialog you should either
| • | select the user to rename in the explorer tree; |
| • | select the Rename User item from the popup menu |
or
| • | open the database in Database Editor and the Users tab there; |
| • | select the user to rename; |
| • | select the Rename User item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar). |
|
To drop a user:
| • | select the user to drop in the explorer tree; |
| • | select the Drop User item from the popup menu |
or
| • | open the database in Database Editor and the Users tab there; |
| • | select the user to drop; |
| • | press the Delete key or select the Drop User item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
and confirm dropping in the dialog window.
|