LdapConnectionとは? わかりやすく解説

LdapConnection クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

LdapConnection クラスは、Microsoft Active Directory サーバーまたは LDAP サーバーへの TCP/IP または UDPLDAP 接続作成します

名前空間: System.DirectoryServices.Protocols
アセンブリ: System.DirectoryServices.Protocols (system.directoryservices.protocols.dll 内)
構文構文

Public Class LdapConnection
    Inherits DirectoryConnection
    Implements IDisposable
Dim instance As LdapConnection
public class LdapConnection : DirectoryConnection,
 IDisposable
public ref class LdapConnection : public
 DirectoryConnection, IDisposable
public class LdapConnection extends DirectoryConnection
 implements IDisposable
public class LdapConnection extends
 DirectoryConnection implements IDisposable
解説解説

LdapConnection オブジェクトの ClientCertificates プロパティと LdapSessionOptions オブジェクトの QueryClientCertificate プロパティ両方設定される場合ClientCertificates プロパティ指定される証明書無視されます。

継承階層継承階層
System.Object
   System.DirectoryServices.Protocols.DirectoryConnection
    System.DirectoryServices.Protocols.LdapConnection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection コンストラクタ (LdapDirectoryIdentifier, NetworkCredential, AuthType)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

LdapConnection(LdapDirectoryIdentifier,NetworkCredential,AuthType) コンストラクタは、指定したディレクトリ識別子ネットワーク資格情報、および認証種類使用して、LdapConnection クラスインスタンス作成します

名前空間: System.DirectoryServices.Protocols
アセンブリ: System.DirectoryServices.Protocols (system.directoryservices.protocols.dll 内)
構文構文

Public Sub New ( _
    identifier As LdapDirectoryIdentifier, _
    credential As NetworkCredential, _
    authType As AuthType _
)
Dim identifier As LdapDirectoryIdentifier
Dim credential As NetworkCredential
Dim authType As AuthType

Dim instance As New LdapConnection(identifier,
 credential, authType)
public LdapConnection (
    LdapDirectoryIdentifier identifier,
    NetworkCredential credential,
    AuthType authType
)
public:
LdapConnection (
    LdapDirectoryIdentifier^ identifier, 
    NetworkCredential^ credential, 
    AuthType authType
)
public LdapConnection (
    LdapDirectoryIdentifier identifier, 
    NetworkCredential credential, 
    AuthType authType
)
public function LdapConnection (
    identifier : LdapDirectoryIdentifier, 
    credential : NetworkCredential, 
    authType : AuthType
)

パラメータ

identifier

サーバー指定する LdapDirectoryIdentifier オブジェクト

credential

使用する資格情報指定する NetworkCredential オブジェクト

authType

使用する認証種類指定する AuthType 値。

例外例外
例外種類条件

LdapException

接続ブロック作成できない、またはサーバーとの接続を開くことができない場合スローさます。

InvalidEnumArgumentException

authType範囲外場合スローさます。

ArgumentException

authType匿名指定されているのに credential資格情報指定されている場合スローさます。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LdapConnection クラス
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection コンストラクタ (String)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

LdapConnection(String) コンストラクタは、指定されサーバー使用して、LdapConnection クラスインスタンス作成します

名前空間: System.DirectoryServices.Protocols
アセンブリ: System.DirectoryServices.Protocols (system.directoryservices.protocols.dll 内)
構文構文

例外例外
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LdapConnection クラス
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection コンストラクタ (LdapDirectoryIdentifier, NetworkCredential)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

LdapConnection(LdapDirectoryIdentifier,NetworkCredential) コンストラクタは、指定されディレクトリ識別子ネットワーク資格情報使用して、LdapConnection クラスインスタンス作成しますネゴシエート認証使用されます。

名前空間: System.DirectoryServices.Protocols
アセンブリ: System.DirectoryServices.Protocols (system.directoryservices.protocols.dll 内)
構文構文

Public Sub New ( _
    identifier As LdapDirectoryIdentifier, _
    credential As NetworkCredential _
)
Dim identifier As LdapDirectoryIdentifier
Dim credential As NetworkCredential

Dim instance As New LdapConnection(identifier,
 credential)
public LdapConnection (
    LdapDirectoryIdentifier identifier,
    NetworkCredential credential
)
public:
LdapConnection (
    LdapDirectoryIdentifier^ identifier, 
    NetworkCredential^ credential
)
public LdapConnection (
    LdapDirectoryIdentifier identifier, 
    NetworkCredential credential
)
public function LdapConnection (
    identifier : LdapDirectoryIdentifier, 
    credential : NetworkCredential
)

パラメータ

identifier

サーバー指定する LdapDirectoryIdentifier オブジェクト

credential

使用する資格情報指定する NetworkCredential オブジェクト

例外例外
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LdapConnection クラス
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection コンストラクタ

LdapConnection クラスインスタンス作成します
例外例外

オーバーロードの一覧オーバーロードの一覧
名前 説明
LdapConnection (LdapDirectoryIdentifier) LdapConnection(LdapDirectoryIdentifier) コンストラクタは、指定されディレクトリ識別子使用してLdapConnection クラスインスタンス作成しますログオン資格情報ネゴシエート認証使用してLDAP サーバー接続します
LdapConnection (String) LdapConnection(String) コンストラクタは、指定されサーバー使用してLdapConnection クラスインスタンス作成します
LdapConnection (LdapDirectoryIdentifier, NetworkCredential) LdapConnection(LdapDirectoryIdentifier,NetworkCredential) コンストラクタは、指定されディレクトリ識別子ネットワーク資格情報使用してLdapConnection クラスインスタンス作成しますネゴシエート認証使用されます。
LdapConnection (LdapDirectoryIdentifier, NetworkCredential, AuthType) LdapConnection(LdapDirectoryIdentifier,NetworkCredential,AuthType) コンストラクタは、指定したディレクトリ識別子ネットワーク資格情報、および認証種類使用してLdapConnection クラスインスタンス作成します
参照参照

関連項目

LdapConnection クラス
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection コンストラクタ (LdapDirectoryIdentifier)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

LdapConnection(LdapDirectoryIdentifier) コンストラクタは、指定されディレクトリ識別子使用して、LdapConnection クラスインスタンス作成しますログオン資格情報ネゴシエート認証使用してLDAP サーバー接続します

名前空間: System.DirectoryServices.Protocols
アセンブリ: System.DirectoryServices.Protocols (system.directoryservices.protocols.dll 内)
構文構文

Public Sub New ( _
    identifier As LdapDirectoryIdentifier _
)
Dim identifier As LdapDirectoryIdentifier

Dim instance As New LdapConnection(identifier)
public LdapConnection (
    LdapDirectoryIdentifier identifier
)
public:
LdapConnection (
    LdapDirectoryIdentifier^ identifier
)
public LdapConnection (
    LdapDirectoryIdentifier identifier
)
public function LdapConnection (
    identifier : LdapDirectoryIdentifier
)

パラメータ

identifier

サーバー指定する LdapDirectoryIdentifier オブジェクト

例外例外
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LdapConnection クラス
LdapConnection メンバ
System.DirectoryServices.Protocols 名前空間

LdapConnection プロパティ


LdapConnection メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Abort Abort メソッドは、非同期要求キャンセルします
パブリック メソッド BeginSendRequest オーバーロードされますサーバーデータ非同期的に送信します
パブリック メソッド Bind オーバーロードされますLDAP バインド送信します
パブリック メソッド Dispose オーバーロードされますLDAP ハンドル閉じオプション解放もします
パブリック メソッド EndSendRequest EndSendRequest メソッドは、非同期要求完了します
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 ( Object から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 ( Object から継承されます。)
パブリック メソッド GetPartialResults GetPartialResults メソッドは、非同期操作部分的な結果取得します
パブリック メソッド GetType  現在のインスタンスType取得します。 ( Object から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 ( Object から継承されます。)
パブリック メソッド SendRequest オーバーロードされますオーバーライドされますLDAP v3操作として単一の DirectoryRequest を送信します
パブリック メソッド ToString  現在の Object を表す String返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

LdapConnection クラス
System.DirectoryServices.Protocols 名前空間

LdapConnection メンバ

LdapConnection クラスは、Microsoft Active Directory サーバーまたは LDAP サーバーへの TCP/IP または UDPLDAP 接続作成します

LdapConnection データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド LdapConnection オーバーロードされますLdapConnection クラスインスタンス作成します
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Abort Abort メソッドは、非同期要求キャンセルします
パブリック メソッド BeginSendRequest オーバーロードされますサーバーデータ非同期的に送信します
パブリック メソッド Bind オーバーロードされますLDAP バインド送信します
パブリック メソッド Dispose オーバーロードされますLDAP ハンドル閉じオプション解放もします
パブリック メソッド EndSendRequest EndSendRequest メソッドは、非同期要求完了します
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 (Object から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 (Object から継承されます。)
パブリック メソッド GetPartialResults GetPartialResults メソッドは、非同期操作部分的な結果取得します
パブリック メソッド GetType  現在のインスタンスType取得します。 (Object から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 (Object から継承されます。)
パブリック メソッド SendRequest オーバーロードされますオーバーライドされますLDAP v3操作として単一の DirectoryRequest を送信します
パブリック メソッド ToString  現在の Object を表す String返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

LdapConnection クラス
System.DirectoryServices.Protocols 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からLdapConnectionを検索した結果を表示しています。
Weblioに収録されているすべての辞書からLdapConnectionを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からLdapConnection を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「LdapConnection」の関連用語

LdapConnectionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



LdapConnectionのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS