Define SQL Server Users

Use the SQL Server User Id Editor to define database users and their respective properties in a SQL Server 2005/2008 physical model.

To define SQL Server users

  1. Click Principals, Users on the Database menu.

    The SQL Server User Id Editor opens.

  2. Select the user in the Navigation Grid that you want to define and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new user.

    Name

    Displays the user name. You can change the user name in this field.

    Login Type

    Specifies the login type of the user. Select the login type from the drop-down list.

    Schema

    Specifies the default schema for the user. Select a schema from the drop-down list.

    Generate

    Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.

  3. Click the General tab and work with the following options:

    Note: Available options are based on the login type you defined in the Navigation Grid: Login, Certificate, Asymmetric Key, or No Login.

    Login

    Specifies the login to associate with the user, if the login type is set to Login. Select a login from the drop-down list.

    Asymmetric Key

    Specifies the asymmetric key to associate with the user, if the login type is set to Asymmetric Key. Select an asymmetric key from the drop-down list.

    Certificate

    Specifies the certificate to associate with the user, if the login type is set to Certificate. Select a certificate from the drop-down list.

  4. Click the Permission tab to define the permissions for the user.
  5. Click the Roles tab to select or remove role usage.
  6. (Optional) Click the Comment tab and enter any comments that you want to associate with the user.
  7. (Optional) Click the UDP tab to work with user-defined properties for the user.
  8. Click Close.

    The user is defined and the SQL Server User Id Editor closes.

More information:

Define Permissions for an Object in a SQL Server Property Editor

Work With Roles in a Property Editor

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor