Roles

Roles are a lot like Windows security groups—they allow you to assign permissions to a group of users easily and they can have built-in permissions (implicit permissions) that cannot be changed. Two types of roles are available:

  • Server roles. Applied at the server level

  • Database roles. Applied at the database level

Server Roles

You use server roles to grant server administration capabilities. If you make a login a member of a role, users who use this login can perform any tasks permitted by the role. For example, members of the sysadmin role have the highest level of permissions on SQL Server and can perform any type of task.

You set server roles at the server level, and you predefine them. This means that these permissions affect the entire ...

Get Microsoft® SQL Server® 2008 Administrator's Pocket Consultant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.