Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » SQL Anywhere database connections » Using Windows integrated logins

 

Create an integrated login

User profiles can only be mapped to an existing database user ID. When that database user ID is removed from the database, all integrated login mappings based on that database user ID are automatically removed.

A user or group profile does not have to exist for it to be mapped to a database user ID. More than one user profile can be mapped to the same database user ID.

You can use either the Create Login Mapping Wizard or a SQL statement to create an integrated login mapping.

You must have DBA authority to create or delete an integrated login mapping.

 To map an integrated login (Sybase Central)
  1. Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority.

  2. In the left pane, right-click Login Mappings and choose New » Login Mapping.

  3. Click Next.

  4. In the Which Windows User Will Be Connecting To The Database field, type the name of the user or group profile for whom the integrated login is to be created.

  5. In the Which Database User Do You Want To Associate With The Windows User list, select the database user ID this user maps to.

  6. Follow the remaining instructions in the Create Login Mapping Wizard.

 To map an integrated login (SQL)
  1. Connect to the database as a user with DBA authority.

  2. Execute a GRANT INTEGRATED LOGIN TO statement.

 Example