RSS

Database Principals

11 Aug

Principals are entities that can request resources. Principal can either be an individual or a collection. A Windows Login is an example of an indivisible principal, and a Windows Group is an example of a principal that is a collection.

sys.database_principals gives a list of all the principals
Database principals
Windows-level principals

  • Windows Domain Login
  • Windows Local Login

SQL Server-level principal

  • SQL Server Login

Database-level principals

  • Database User
  • Database Role
  • Application Role
 
Leave a comment

Posted by on August 11, 2011 in Security, SQL Server

 

Leave a comment