Reputation: 2366
I have an ASP.NET app which connects to SQL Server using a SQL Server account. For auditing purposes, we use temporal tables which requires us to manually pass in the users doing the updates (AD accounts).
Is there any way to pass the users identity through to the SQL connection so we can setup triggers and avoid having to manually update the user with every update?
Upvotes: 0
Views: 42