Name
FormsIdentity
Synopsis
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 NotInheritable Class FormsIdentity : Implements System.Security.Principal.IIdentity ' Public Constructors Public Sub New(ByVal ticket As FormsAuthenticationTicket) ' Public Instance Properties Public ReadOnly Property AuthenticationType As String Implements IIdentity.AuthenticationType Public ReadOnly Property IsAuthenticated As Boolean Implements IIdentity.IsAuthenticated Public ReadOnly Property Name As String Implements IIdentity.Name Public ReadOnly Property Ticket As FormsAuthenticationTicket End Class
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.