top of page

Query to find the sql authentication Scheme in SQL Server

  • Writer: Kunal Ranpura
    Kunal Ranpura
  • Jul 28, 2019
  • 1 min read

--Query to find the sql authentication Scheme


SELECT auth_scheme FROM sys.dm_exec_connections WHERE session_id = @@spid

Recent Posts

See All
Fix Orphan User

--Fix Orphan Users EXEC sp_change_users_login 'Report' EXEC sp_change_users_login 'Auto_Fix', 'user' EXEC sp_change_users_login...

 
 
 

Comments


bottom of page