FormsIdentity Constructors
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.
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. |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: