This documentation is archived and is not being maintained.
WindowsIdentity.IsAnonymous Property
.NET Framework 1.1
Gets a value indicating whether the user account is identified as an anonymous account by the system.
[Visual Basic] Public Overridable ReadOnly Property IsAnonymous As Boolean [C#] public virtual bool IsAnonymous {get;} [C++] public: __property virtual bool get_IsAnonymous(); [JScript] public function get IsAnonymous() : Boolean;
Property Value
true if the user account is an anonymous account; otherwise, false.
Remarks
Anonymous accounts are typically only encountered from within ASP.NET-based applications when anonymous access is allowed by the Microsoft Internet Information Services.
Requirements
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
WindowsIdentity Class | WindowsIdentity Members | System.Security.Principal Namespace
Show: