Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ monikerRange: ">=aps-pdw-2016||>=sql-server-2016||=sqlallproducts-allversions||>
|**default_language_name**|**sysname**|Default language for this principal.|
|**credential_id**|**int**|ID of a credential associated with this principal. If no credential is associated with this principal, credential_id will be NULL.|
|**owning_principal_id**|**int**|The **principal_id** of the owner of a server role. NULL if the principal is not a server role.|
|**is_fixed_role**|**bit**|Returns 1 if the principal is one of the fixed server roles. For more information, see [Server-Level Roles](../../relational-databases/security/authentication-access/server-level-roles.md).|
|**is_fixed_role**|**bit**|Returns 1 if the principal is one of the built-in server roles with fixed permissions. For more information, see [Server-Level Roles](../../relational-databases/security/authentication-access/server-level-roles.md).|

## Permissions
Any login can see their own login name, the system logins, and the fixed server roles. To see other logins, requires ALTER ANY LOGIN, or a permission on the login. To see user-defined server roles, requires ALTER ANY SERVER ROLE, or membership in the role.
Expand All @@ -55,7 +55,7 @@ monikerRange: ">=aps-pdw-2016||>=sql-server-2016||=sqlallproducts-allversions||>
The following query lists the permissions explicitly granted or denied to server principals.

> [!IMPORTANT]
> The permissions of fixed server roles do not appear in sys.server_permissions. Therefore, server principals may have additional permissions not listed here.
> The permissions of fixed server roles (other than public) do not appear in sys.server_permissions. Therefore, server principals may have additional permissions not listed here.

```
SELECT pr.principal_id, pr.name, pr.type_desc,
Expand Down