システムによってユーザー アカウントが匿名アカウントとして識別されているかどうかを示す値を取得します。
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;
プロパティ値
ユーザー アカウントが匿名アカウントである場合は true 。それ以外の場合は false 。
解説
通常、匿名アカウントは、Microsoft Internet Information Services で匿名アクセスが許可されている場合に、ASP.NET ベースのアプリケーション内からだけ認識されます。
必要条件
プラットフォーム: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
WindowsIdentity クラス | WindowsIdentity メンバ | System.Security.Principal 名前空間