System.Web
1.0.5000.0
2.0.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
System.Object
System.Web.IHttpModule
When the authentication is set to , the sets the property of the current to an object that represents the Windows identity supplied by IIS for the current request. If IIS uses anonymous authentication, then the uses the identity returned by the method.
The exposes an event that enables you to provide a custom object for the property of the current . The event is accessed by specifying a subroutine named WindowsAuthentication_OnAuthenticate in the Global.asax file for your ASP.NET application.
In IIS 7.0, using the class with the class is not supported. For more information about compatibility issues in Integrated mode, see Moving an ASP.NET Application from IIS 6.0 to IIS 7.0.
Sets the identity of the user for an ASP.NET application when Windows authentication is enabled. This class cannot be inherited.
Constructor
This constructor is not intended to be called from application code.
ASP.NET calls this constructor to create an instance of the class. After calling the constructor, it calls the method to initialize the new object.
Creates an instance of the class.
1.0.5000.0
2.0.0.0
Event
System.Web.Security.WindowsAuthenticationEventHandler
The event is raised during the event.
You can access the event of the class by specifying a subroutine named WindowsAuthentication_OnAuthenticate in the Global.asax file for your ASP.NET application.
You can use the property of the object supplied to the WindowsAuthentication_OnAuthenticate event to set the property of the current to a custom object. If you do not specify a value for the property during the WindowsAuthentication_OnAuthenticate event, the Windows identity supplied by IIS is used as the identity for the current request. If IIS uses anonymous authentication, then the property is set to the identity returned by the method.
The WindowsAuthentication_OnAuthenticate event is raised only when the authentication is set to and the is an active HTTP module for the application.
In IIS 7.0 running in Integrated Mode, the event of the is not raised when both the ASP.NET and the IIS AnonymousAuthenticationModule modules are enabled. In this scenario, to receive authentication notification, subscribe to the event of the instance. For more information about compatibility issues in Integrated modes, see Moving an ASP.NET Application from IIS 6.0 to IIS 7.0.
Occurs when the application authenticates the current request.
1.0.5000.0
2.0.0.0
Method
System.Void
This method is not intended to be called from application code.
Releases all resources, other than memory, used by the .
1.0.5000.0
2.0.0.0
Method
System.Void
This method is not intended to be called from application code.
The method ensures that the is included in the processing of the event.
Initializes the object.
The current instance.
1.0.5000.0
2.0.0.0