.NET Framework Class Library
FormsAuthenticationTicket Members

Provides access to properties and values of the ticket used with forms authentication to identify users. This class cannot be inherited.

The FormsAuthenticationTicket type exposes the following members.

Constructors

  NameDescription
Public methodFormsAuthenticationTicketOverloaded. Initializes a new instance of the FormsAuthenticationTicket class.
Top
Methods

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyCookiePathGets the cookie path for the forms-authentication ticket.
Public propertyExpirationGets the local date and time at which the forms-authentication ticket expires.
Public propertyExpiredGets a value indicating whether the forms-authentication ticket has expired.
Public propertyIsPersistentGets a value indicating whether the cookie that contains the forms-authentication ticket information is persistent.
Public propertyIssueDateGets the local date and time at which the forms-authentication ticket was originally issued.
Public propertyNameGets the user name associated with the forms-authentication ticket.
Public propertyUserDataGets a user-specific string stored with the ticket.
Public propertyVersionGets the version number of the ticket.
Top
See Also

Reference

Tags :


Page view tracker