In Intranet application, we used to perform Windows Authentication to validate user. In ASP.NET, Request.ServerVariables["LOGON_USER"] is returning logged user name with domain value. but sometime when we are trying to access this server variable in web application it may return empty value. To resolve the issue, go to Web Site / Web application project properties set Anonymous Authentication as Disabled and set Windows Authentication as Enabled. that's it. It will resolve the issue. Now can access all the server variables in web application