FormsIdentity Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro