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
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir