FormsIdentity Class
.NET Framework 3.0
Represents a user identity authenticated using forms authentication. This class cannot be inherited.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
System.Web.Security Namespace
Assembly: System.Web (in system.web.dll)
'Declaration <SerializableAttribute> _ Public NotInheritable Class FormsIdentity Implements IIdentity 'Usage Dim instance As FormsIdentity
/** @attribute SerializableAttribute() */ public final class FormsIdentity implements IIdentity
SerializableAttribute public final class FormsIdentity implements IIdentity
Not applicable.
The FormsIdentity class is used by the FormsAuthenticationModule when a user is authenticated with forms authentication. An instance of the FormsIdentity class is created using the FormsAuthenticationTicket that is decrypted from the forms-authentication cookie or from the URL. The new instance of the FormsIdentity class is used to construct a new GenericPrincipal object that is set as the value of the User property for the current HttpContext.
- AspNetHostingPermission for using the FormsIdentity class in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.
Reference
FormsIdentity MembersSystem.Web.Security Namespace
Other Resources
Forms Authentication ProviderCommunity Additions
ADD
Show: