FormsIdentity Members

Represents a user identity authenticated using forms authentication. This class cannot be inherited.

The following tables list the members exposed by the FormsIdentity type.

  Name Description
Public method FormsIdentity Initializes a new instance of the FormsIdentity class.

  Name Description
Public property AuthenticationType Gets the type of authenticated identity.
Public property IsAuthenticated Gets a value that indicates whether authentication took place.
Public property Name Gets the user name of the forms identity.
Public property Ticket Gets the FormsAuthenticationTicket for the forms-authentication user identity.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions