asp.net.ph

Request.IsAuthenticated Property

System.Web Namespace   HttpRequest Class


Gets a value indicating whether the user has been authenticated.

[ VB ]
Public ReadOnly Property IsAuthenticated As Boolean

[ C# ]
public bool IsAuthenticated {get;}

[ C++ ]
public: __property bool get_IsAuthenticated ( );

[ JScript ]
public function get IsAuthenticated ( ) : Boolean;

Property Value

true if authenticated; otherwise false.

Example

The following example takes action only if the user has been authenticated.

if ( Request.IsAuthenticated ) {
   // ... do whatever here ...
}
  C# VB

 Show me 

See Also

HttpRequest Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph