System.Web.Security.FormsAuthenticationTicket Members

The members of System.Web.Security.FormsAuthenticationTicket are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.Security.FormsAuthenticationTicket class using a cookie name and expiration information.

Initializes a new instance of the System.Web.Security.FormsAuthenticationTicket class with cookie name, version, expiration date, issue date, persistence, and user-specific data. The cookie path is set to the default value established in the application's configuration file.

Initializes a new instance of the System.Web.Security.FormsAuthenticationTicket class with cookie name, version, directory path, issue date, expiration date, persistence, and user-defined data.

Public Properties

[read-only]
CookiePathstring.

Gets the cookie path for the forms-authentication ticket.

[read-only]
ExpirationDateTime.

Gets the local date and time at which the forms-authentication ticket expires.

[read-only]
Expiredbool.

Gets a value indicating whether the forms-authentication ticket has expired.

[read-only]
IsPersistentbool.

Gets a value indicating whether the cookie that contains the forms-authentication ticket information is persistent.

[read-only]
IssueDateDateTime.

Gets the local date and time at which the forms-authentication ticket was originally issued.

[read-only]
Namestring.

Gets the user name associated with the forms-authentication ticket.

[read-only]
UserDatastring.

Gets a user-specific string stored with the ticket.

[read-only]
Versionint.

Gets the version number of the ticket.