sp_dbfixedrolepermission (Transact-SQL)
Displays the permissions of a fixed database role.
Note: |
|---|
| sp_dbfixedrolepermission returns information that is correct in SQL Server 2000. The output does not reflect the changes to the permissions hierarchy that are implemented in SQL Server 2005. For more information, see Permissions of Fixed Database Roles. |
Transact-SQL Syntax Conventions
To display a list of the fixed database roles, execute sp_helpdbfixedrole. The following table shows the fixed database roles.
| Fixed database role | Description |
|---|---|
|
db_owner |
Database owners |
|
db_accessadmin |
Database access administrators |
|
db_securityadmin |
Database security administrators |
|
db_ddladmin |
Database data definition language (DDL) administrators |
|
db_backupoperator |
Database backup operators |
|
db_datareader |
Database data readers |
|
db_datawriter |
Database data writers |
|
db_denydatareader |
Database deny data readers |
|
db_denydatawriter |
Database deny data writers |
Members of the db_owner fixed database role have the permissions of all the other fixed database roles. To display the permissions for fixed server roles, execute sp_srvrolepermission.
The result set includes the Transact-SQL statements that can be executed, and other special activities that can be performed, by members of the database role.