แก้ไข

แชร์ผ่าน


FormsIdentity Constructors

Definition

Initializes a new instance of the FormsIdentity class.

Overloads

FormsIdentity(FormsAuthenticationTicket)

Initializes a new instance of the FormsIdentity class.

FormsIdentity(FormsIdentity)

Initializes a new instance of the FormsIdentity class based on the specified identity.

FormsIdentity(FormsAuthenticationTicket)

Initializes a new instance of the FormsIdentity class.

public:
 FormsIdentity(System::Web::Security::FormsAuthenticationTicket ^ ticket);
public FormsIdentity (System.Web.Security.FormsAuthenticationTicket ticket);
new System.Web.Security.FormsIdentity : System.Web.Security.FormsAuthenticationTicket -> System.Web.Security.FormsIdentity
Public Sub New (ticket As FormsAuthenticationTicket)

Parameters

ticket
FormsAuthenticationTicket

The authentication ticket upon which this identity is based.

See also

Applies to

FormsIdentity(FormsIdentity)

Initializes a new instance of the FormsIdentity class based on the specified identity.

protected:
 FormsIdentity(System::Web::Security::FormsIdentity ^ identity);
protected FormsIdentity (System.Web.Security.FormsIdentity identity);
new System.Web.Security.FormsIdentity : System.Web.Security.FormsIdentity -> System.Web.Security.FormsIdentity
Protected Sub New (identity As FormsIdentity)

Parameters

identity
FormsIdentity

The identity upon which this identity is based.

Applies to