This documentation is archived and is not being maintained.
HttpRequest.IsAuthenticated Property
.NET Framework 1.1
Gets a value indicating whether the user has been authenticated.
[Visual Basic] 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.
[Visual Basic] If Request.IsAuthenticated Then '... End if [C#] if (Request.IsAuthenticated) { // ... } [C++] if (Request->IsAuthenticated) { // ... } [JScript] if(Request.IsAuthenticated){ //... }
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpRequest Class | HttpRequest Members | System.Web Namespace
Show: