How do I get the currently loggedin Windows account from an ASP.NET page?

You have to set authentication mode to Windows in your configuration & also disable anonymous users in authorization tag.

Leave a Comment