A
anonymous
I have the followng string in my web.config file.
<add key="DBConnInfo" value="Data Source=SQL01;Initial
Catalog=DatabaseName;Trusted_Connection=No;Persist
Security Info=True;User id=sa;password=password;" />
Where I am passing a user id to be connected to a sql db.
Instead of passing a user I would like to get current user
windows id pass to the string.How do I do this?
<add key="DBConnInfo" value="Data Source=SQL01;Initial
Catalog=DatabaseName;Trusted_Connection=No;Persist
Security Info=True;User id=sa;password=password;" />
Where I am passing a user id to be connected to a sql db.
Instead of passing a user I would like to get current user
windows id pass to the string.How do I do this?