I am trying to build an application on our company\'s intranet using ASP.NET and VB.NET.
Neither of these functions return anything once my application is published
Would this work for what you are trying to accomplish? Environment.GetEnvironmentVariable("USERNAME").ToString();
Environment.GetEnvironmentVariable("USERNAME").ToString();
And yet another way to get the logged-on user name:
Request.ServerVariables["LOGON_USER"]