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.EventArgs

The class is used to supply event values to the WindowsAuthentication_OnAuthenticate event and to enable you to specify a custom Windows identity for the current request.

The constructs a object using the Windows identity supplied by IIS and the current and passes it to the WindowsAuthentication_OnAuthenticate event.

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.

Provides data for the WindowsAuthentication_OnAuthenticate event. This class cannot be inherited.

- Constructor

  The constructs a object using the Windows identity supplied by IIS and the current and passes it to the WindowsAuthentication_OnAuthenticate event.

  Initializes a newly created instance of the class.

  The Windows identity object.
  The context for the event.
  1.0.5000.0
  2.0.0.0
- Property
  System.Web.HttpContext a

  The provides access to , , and objects for the current request.

  Gets the object for the current HTTP request.

  1.0.5000.0
  2.0.0.0
- Property
  System.Security.Principal.WindowsIdentity a

  The constructs a object using the Windows identity supplied by IIS and the current and passes it to the WindowsAuthentication_OnAuthenticate event.

  If IIS uses anonymous authentication, the property is set to the identity returned by the method.

  Gets the Windows identity passed to the constructor.

  1.0.5000.0
  2.0.0.0
- Property
  System.Security.Principal.IPrincipal a

  You can use the property 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.

  Gets or sets the object to be associated with the current request.

  1.0.5000.0
  2.0.0.0