次の方法で共有


WindowsIdentity.IsAuthenticated プロパティ

ユーザーが Windows により認証されているかどうかを示す値を取得します。

Public Overridable ReadOnly Property IsAuthenticated As Boolean  _   Implements IIdentity.IsAuthenticated
[C#]
public virtual bool IsAuthenticated {get;}
[C++]
public: __property virtual bool get_IsAuthenticated();
[JScript]
public function get IsAuthenticated() : Boolean;

プロパティ値

ユーザーが認証されている場合は true 。それ以外の場合は false

実装

IIdentity.IsAuthenticated

必要条件

プラットフォーム: 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 名前空間