Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 2.28 KB

sys-dm-cryptographic-provider-sessions-transact-sql.md

File metadata and controls

58 lines (45 loc) · 2.28 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sys.dm_cryptographic_provider_sessions (Transact-SQL)
sys.dm_cryptographic_provider_sessions (Transact-SQL)
rwestMSFT
randolphwest
06/10/2016
sql
system-objects
reference
sys.dm_cryptographic_provider_sessions
dm_cryptographic_provider_sessions_TSQL
sys.dm_cryptographic_provider_sessions_TSQL
dm_cryptographic_provider_sessions
sys.dm_cryptographic_provider_sessions dynamic management function
TSQL

sys.dm_cryptographic_provider_sessions (Transact-SQL)

[!INCLUDE SQL Server]

Returns information about open sessions for a cryptographic provider.

Syntax

  
sys.dm_cryptographic_provider_sessions(session_identifier)  

Arguments

session_identifier
An integer indicating the sessions to be returned.

0 = Current connection only

1 = All cryptographic connections

Table Returned

Column name Data type Description
provider_id int Identification number of the cryptographic provider.
session_handle varbytes(8) Cryptographic session handle.
identity nvarchar(128) Identity used to authenticate with the cryptographic provider.
spid short Session ID SPID of the connection. For more information, see @@SPID (Transact-SQL).

Permissions

Members of the public server role can use sys.dm_cryptographic_provider_sessions to return information about the current connection. To view all cryptographic connections, the CONTROL server permission is required.

See Also

Security Catalog Views (Transact-SQL)
Extensible Key Management (EKM)
CREATE CRYPTOGRAPHIC PROVIDER (Transact-SQL)
Encryption Hierarchy