WindowsIdentity.AuthenticationType プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

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

名前空間: System.Security.Principal
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Visual Basic (宣言)

Public ReadOnly Property AuthenticationType As String

Visual Basic (使用法)

Dim instance As WindowsIdentity Dim value As String

value = instance.AuthenticationType

C#

public string AuthenticationType { get; }

C++

public: virtual property String^ AuthenticationType { String^ get () sealed; }

J#

/** @property */ public final String get_AuthenticationType ()

JScript

public final function get AuthenticationType () : String

プロパティ
ユーザー識別するために使用する認証種類

解説解説

通常、この認証種類は WindowsIdentity オブジェクトNTLMなります

使用例使用例

AuthenticationType プロパティ使用しユーザー識別使用される認証タイプ取得するコード例次に示します。このコード例は、WindowsIdentity クラストピック取り上げているコード例一部分です。

Visual Basic

Dim authenticationType As String = windowsIdentity.AuthenticationType

C#

String authenticationType = windowsIdentity.AuthenticationType;

C++

String^ authenticationType = windowsIdentity->AuthenticationType;

J#

String authenticationType = windowsIdentity.get_AuthenticationType();

プラットフォームプラットフォーム

Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォーム中には.NET Framework によってサポートされていないバージョンありますサポートされているバージョンについては、「システム要件」を参照してください

バージョン情報バージョン情報

.NET Framework
サポート対象 : 2.01.11.0

参照参照

関連項目
WindowsIdentity クラス
WindowsIdentity メンバ
System.Security.Principal 名前空間