Hello
(Using VS 2005)
I want my ASP.net app to pull the windows login and pass it as a variable to a stored procedure
This works fine on my machine but does not work on the server after I publish.
This is how I get the variable to pass to the sp
Dim s_user As String = System.Environment.GetEnvironmentVariable("username")
What do I need to do to make this work on the server?
Thanks in advance
Dave
(Using VS 2005)
I want my ASP.net app to pull the windows login and pass it as a variable to a stored procedure
This works fine on my machine but does not work on the server after I publish.
This is how I get the variable to pass to the sp
Dim s_user As String = System.Environment.GetEnvironmentVariable("username")
What do I need to do to make this work on the server?
Thanks in advance
Dave