Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / November 2008

Tip: Looking for answers? Try searching our database.

How can I obtain Impersonation info?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dj - 21 Nov 2008 15:14 GMT
Based on the assumption that Windows stores some sort of (GUID?) value when
an application uses Impersonation to connect to a SQL Server database, is it
possible to obtain this value at either the application or database level?

My objective is to maintain an audit log of changes to application data,
including some form of unique user identification, despite the use of
Impersonation.

Any tips, links, etc. that address this are greatly appreciated.
TIA
Russell Fields - 24 Nov 2008 16:45 GMT
dj,

If the impersonation is done before you reach the SQL Server, then the SQL
Server does not know who you really were.  Does the domain know?

If the impersonation is done inside SQL Server, you might find SQL Server
2005/2008 ORIGINAL_LOGIN() function useful.

You also might be interested in signing up and voting for this
recommendation on Microsoft Connect:
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=238908

RLF

> Based on the assumption that Windows stores some sort of (GUID?) value
> when
[quoted text clipped - 8 lines]
> Any tips, links, etc. that address this are greatly appreciated.
> TIA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.