Thanks Mark,
The authentication is set to windows and I unchecked anonymous access and checked integrated windows on the virtual directory.
So instead of strLogonUsr = Request.ServerVariables("LOGON_USER")
change that to strLogonUsr = user.identity.name instead?
Thanks
Laura
Morning,
I've been scouring the forumsa and tutorials and I think I'm close. I'm trying to collect the username ofthe user connecting to the webapage (this is an intranet app) and submit it via a sql statement. My confusion is where you put what. On the default.aspx.vb I have a proteced sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.