title | ms.custom | ms.date | ms.prod | ms.prod_service | ms.reviewer | ms.technology | ms.topic | dev_langs | helpviewer_keywords | ms.assetid | author | ms.author | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Security Catalog Views (Transact-SQL) | Microsoft Docs |
02/27/2017 |
sql |
database-engine |
system-objects |
language-reference |
|
|
4d5cf1bf-09a7-4ee0-9dbb-5c584750fc67 |
VanMSFT |
vanto |
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]
Security information is exposed in catalog views that are optimized for performance and utility. When possible, use the following catalog views to access catalog metadata.
sys.database_permissions | sys.database_scoped_credentials |
sys.database_principals | sys.master_key_passwords |
sys.database_role_members | sys.user_token |
sys.credentials | sys.server_principals |
sys.login_token | sys.server_role_members |
sys.securable_classes | sys.sql_logins |
sys.server_permissions | sys.system_components_surface_area_configuration |
sys.server_audits | sys.server_file_audits |
sys.server_audit_specifications | sys.server_audit_specifications_details |
sys.database_audit_specifications | sys.database_audit_specification_details |
[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.
Security Center for SQL Server Database Engine and Azure SQL Database
Security-Related Dynamic Management Views and Functions (Transact-SQL)