ianperrin / sqlclrdataaudit

Automatically exported from code.google.com/p/sqlclrdataaudit
0 stars 0 forks source link

Audit windows authentication users #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The original code gets the audited user using the following code:

SqlCommand currentUserCmd = new SqlCommand("SELECT CURRENT_USER", 
connection); 

Use SYSTEM_USER instead?

Original issue reported on code.google.com by ianper...@gmail.com on 13 Mar 2007 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by ianper...@gmail.com on 13 Mar 2007 at 1:01

GoogleCodeExporter commented 9 years ago
The code now reads:

SqlCommand currentUserCmd = new SqlCommand("SELECT SYSTEM_USER", 
connection); 

Original comment by ianper...@gmail.com on 13 Mar 2007 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by ianper...@gmail.com on 13 Mar 2007 at 2:15