This documentation is archived and is not being maintained.
FormsAuthenticationTicket Members
Visual Studio 2008
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.
| Name | Description | |
|---|---|---|
|
FormsAuthenticationTicket | Overloaded. Initializes a new instance of the FormsAuthenticationTicket class. |
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
CookiePath | Gets the cookie path for the forms-authentication ticket. |
|
Expiration | Gets the local date and time at which the forms-authentication ticket expires. |
|
Expired | Gets a value indicating whether the forms-authentication ticket has expired. |
|
IsPersistent | Gets a value indicating whether the cookie that contains the forms-authentication ticket information is persistent. |
|
IssueDate | Gets the local date and time at which the forms-authentication ticket was originally issued. |
|
Name | Gets the user name associated with the forms-authentication ticket. |
|
UserData | Gets a user-specific string stored with the ticket. |
|
Version | Gets the version number of the ticket. |
Show: