FormsAuthenticationTicket Members
.NET Framework 3.0
Provides access to properties and values of the ticket used with forms authentication to identify users. This class cannot be inherited.
The following tables list the members exposed by the FormsAuthenticationTicket type.
| Name | Description | |
|---|---|---|
| FormsAuthenticationTicket | Overloaded. Initializes a new instance of the FormsAuthenticationTicket class. |
| 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. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (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) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
FormsAuthenticationTicket ClassSystem.Web.Security Namespace
Other Resources
Forms Authentication ProviderCommunity Additions
ADD
Show: