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

SQL Anywhere 17 » SQL Anywhere Server - Database Administration » User and database security » User security (roles and privileges) » Users

Viewing the roles and privileges for a user or role (SQL Central)

View the roles and privileges have been granted to users and to roles.

Prerequisites

You must have the PUBLIC role.

Procedure

  1. In SQL Central, use the SQL Anywhere 17 plug-in to connect to the database.
  2. Choose one of the following options:
    Option Action

    View the roles and privileges for a user

    1. In the left pane, double-click Users.

    2. Click the user you want to view.

    3. To view the user's roles and system privileges, in the right pane, click Roles and System Privileges, respectively.

    4. To view the user's object-level privileges, click any of the remaining privileges tabs (such as Table privileges, View privileges, and so on).

    View the roles and privileges for a role

    1. In the left pane, double-click Roles.

    2. Click the role you want to view.

    3. To view the roles and system privileges, in the right pane, click Roles and System Privileges, respectively.

    4. To view the role's object-level privileges, click any of the remaining privileges tabs (such as Table privileges, View privileges, and so on).

  3. Optionally, select Show Inherited to include inherited roles and privileges.

Results

The right pane displays the roles and privileges that have been granted to, or inherited by, the specified user or role.