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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Database Administration » Configuring Your Database » Managing user IDs, authorities, and permissions » Managing login policies overview

 

Creating a user and assigning a login policy

If you create a user account and do not assign a login policy, they are assigned the root login policy.

♦  To create a new user and assign a login policy (Sybase Central)
  1. Connect to the database as a user with DBA authority.

  2. Right-click Users & Groups and choose New » User.

  3. Follow the instructions in the Create User Wizard.

♦  To create a new user and assign a login policy (SQL)
  1. Connect to the database as a user with DBA authority.

  2. Execute a CREATE USER statement.

Example

This example creates a user called SQLTester with the password "welcome" and assigns the Test1 login policy.

CREATE USER SQLTester IDENTIFIED BY welcome
LOGIN POLICY Test1;
See also