IsAuthenticated Property


IsAuthenticated Property

Location

My.User.IsAuthenticated

Syntax

     Dim result As Boolean = My.User.IsAuthenticated 

Description

The IsAuthenticated property indicates whether the current user has been successfully authenticated (TRue) or not (False).

Usage at a Glance

  • This property is read-only.

  • Some systems do not support authentication, such as Windows 95 and Windows 98. On these systems, this property always returns False.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.User.IsAuthenticated Property

  • Microsoft.VisualBasic.ApplicationServices.WebUser.IsAuthenticated Property

  • System.Security.Principal.IIdentity.IsAuthenticated Property

See Also

CurrentPrincipal Property, InitializeWithWindowsUser Method, IsInRole Method, Name Property (My.User), User Object




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net