aspxtreme

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 IsAuthenticated Boolean [ Get ]
public Name String [ Get ]
public Ticket FormsAuthenticationTicket [ Get ]

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme