asp.net.ph

FormsIdentity Class

System.Web.Security Namespace


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

FormsIdentity Class Members

Collapse   Constructors

Visibility Constructor Parameters
public FormsIdentity ( FormsAuthenticationTicket ticket )

Collapse   Properties

Visibility Name Value Type Accessibility
public AuthenticationType String [ Get ]
public Claims IEnumerable`1 [ Get ]
public IsAuthenticated Boolean [ Get ]
public Name String [ Get ]
public Ticket FormsAuthenticationTicket [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Clone ( ) ClaimsIdentity

Remarks

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.

See Also

FormsAuthentication Class   FormsAuthenticationModule Class   FormsAuthenticationTicket Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph