ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 227
نمايش فراداده

FormsIdentityserializable

System.Web.Security (system.web.dll)sealed class

This System.Security.Principal.IIdentity instance provides information to the FormsAuthenticationModule about the current user identity. This information consists of the username (Name), the type of authentication (AuthenticationType), which will always be "Forms," and the corresponding ticket object (Ticket)

public sealed class 

FormsIdentity : System.Security.Principal.IIdentity { // Public Constructors public

FormsIdentity (FormsAuthenticationTicket

ticket ); // Public Instance Properties public string

AuthenticationType {get; }// implements System.Security.Principal.IIdentity public bool

IsAuthenticated {get; }// implements System.Security.Principal.IIdentity public string

Name {get; } // implements System.Security.Principal.IIdentity public FormsAuthenticationTicket

Ticket {get; } }