ASA Database Administration Guide
Managing User IDs and Permissions
Managing groups
You can remove users or groups from a group in both Sybase Central and Interactive SQL.
Removing a user or group from a group does not delete them from the database (or from other groups). To do this, you must delete the user/group itself.
Only the DBA can revoke membership in a group.
To remove a user or group from another group (Sybase Central)
Open the Users & Groups folder.
Right-click the desired user/group and choose Properties from the popup menu.
Click the Membership tab of the property sheet.
Select the desired group to leave and click Leave. The user or group associated with the property sheet is then removed from this desired group.
TipYou can perform this action by opening the Users & Groups folder, right-clicking the user or group that is currently a member of another group, and choosing Leave. |
To remove a user or group from another group (SQL)
Connect to a database.
Execute a REVOKE MEMBERSHIP IN GROUP statement, specifying the desired group and the users involved.
Remove the user M_Haneef from the personnel group:
REVOKE MEMBERSHIP IN GROUP personnel FROM M_Haneef
See also