293.

By Default which authentication mode is set in the web.config file?

The Windows authentication allows us to use the windows user accounts. This provider uses IIS to perform the actual authentication, and then passes the authenticated identity to your code. If you like to see that what windows user is using the Asp.net application you can use: User.Identity.Name; This returns the DOMAIN\UserName of the current user of the local machine.