I am having trouble getting a logged in username to use on an intranet site. If I use User.Identity.Name.ToString I get a blank.
If I use Environment.UserName.ToString I get "Network Service".
If I run the application in debug locally I get the Domain\username but not when I run it on our intranet.
View Complete Post