WindowsIdentity.AuthenticationType プロパティ

定義

ユーザーを識別するために使用される認証の種類を取得します。

public:
 virtual property System::String ^ AuthenticationType { System::String ^ get(); };
public:
 property System::String ^ AuthenticationType { System::String ^ get(); };
public virtual string AuthenticationType { get; }
public string AuthenticationType { get; }
public override sealed string AuthenticationType { get; }
member this.AuthenticationType : string
Public Overridable ReadOnly Property AuthenticationType As String
Public ReadOnly Property AuthenticationType As String
Public Overrides NotOverridable ReadOnly Property AuthenticationType As String

プロパティ値

ユーザーを識別するために使用される認証の種類。

実装

例外

Windows から Windows NT 状態コードSTATUS_ACCESS_DENIEDが返されました。

使用可能なメモリが不足しています。

呼び出し元に適切なアクセス許可がありません。

-または-

コンピューターが Windows 2003 以降のドメインに接続されていません。

-または-

コンピューターで Windows 2003 以降が実行されていません。

-または-

ユーザーは、コンピューターが接続されているドメインのメンバーではありません。

注釈

このプロパティは情報です。セキュリティ システムでは使用されません。 Windows オペレーティング システムのWindows Vista以降のバージョンでは、このプロパティの既定値は Negotiate であり、ユーザーが構成したセキュリティ ポリシーに基づいて最適なセキュリティ サポート プロバイダー (SSP) を選択します。 Windows オペレーティング システムの以前のバージョンの既定のプロパティ値は、Kerberos です。

適用対象