Viewing and Modifying Role Memberships
This page is specific to: Version:SQL Server 2000
Administering SQL Server (SQL Server 2000)
Viewing and Modifying Role Memberships

While using a database, you may need to list the members of a database role or fixed server role. Or, when a Microsoft® SQL Server™ user no longer needs the permissions from a user-defined, fixed database or server role of which she is a member, you may want to remove the user from the role to keep the security system as simple as possible.

To view the members of a database role

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To remove a user account from a database role

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To view the members of a fixed server role

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To remove a login from a fixed server role

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View