You can add existing users to groups or add groups to other groups in both Sybase Central and Interactive SQL. In Sybase Central, you can control group membership in the right pane of users or groups. In Interactive SQL, you can make a user a member of a group with the GRANT statement.
When you assign a user membership in a group, they inherit all the permissions on tables, views, and procedures associated with that group. They also inherit any inheritable authorities.
Only a user with DBA authority can grant membership in a group.
To add a user or group to another group (Sybase Central)
Connect to the database as a user with DBA authority.
Click Users & Groups.
Double-click a user or group.
For a user:
For a group:
In the Name list, double-click a group.
The new group appears on the Memberships tab in the right pane.
To add a user or group to another group (SQL)
Connect to the database as a user with DBA authority.
Execute a GRANT MEMBERSHIP IN GROUP statement, specifying the group and the users involved.
Grant the user M_Haneef membership in the personnel group:
GRANT MEMBERSHIP IN GROUP personnel TO M_Haneef; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |