dbcc grantees and users in databases

grant dbcc and revoke dbcc work on users in databases.

Since roles are automatically added as users in a database on their first grant in a database, there are no additional requirements when roles are granted dbcc privileges. Logins must be valid users in the database where permissions are granted. Valid users include “guest.”

For server-wide dbcc commands, the login must be a valid user in master, and the System Administrator must be in master when granting the permission.

For database-specific dbcc commands:

See the Reference Manual for syntax and usage information about grant dbcc and revoke dbcc.