System.Web.Security.FormsIdentity Class

Represents a user identity authenticated using forms authentication. This class cannot be inherited.

See Also: FormsIdentity Members

Syntax

public sealed class FormsIdentity : System.Security.Principal.IIdentity

Remarks

The System.Web.Security.FormsIdentity class is used by the System.Web.Security.FormsAuthenticationModule when a user is authenticated with forms authentication. An instance of the System.Web.Security.FormsIdentity class is created using the System.Web.Security.FormsAuthenticationTicket that is decrypted from the forms-authentication cookie or from the URL. The new instance of the System.Web.Security.FormsIdentity class is used to construct a new System.Security.Principal.GenericPrincipal object that is set as the value of the System.Web.HttpContext.User property for the current System.Web.HttpContext.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0