An NDoc Documented Class Library

ADLayer.GetDirectoryEntry Method (String, Boolean)

Returns the DirectoryEntry with the specified distinguished name, using a standard LDAP connection.

[Visual Basic]
Public Function GetDirectoryEntry( _ 
   ByVal distinguishedName As String, _ 
   ByVal useGC As Boolean _ 
) As DirectoryEntry
[C#]
public DirectoryEntry GetDirectoryEntry(
   string distinguishedName,
   bool useGC
);
[C++]
public: DirectoryEntry* GetDirectoryEntry(
   String* distinguishedName,
   bool useGC
);
[JScript]
public function GetDirectoryEntry(
   String distinguishedName,
   bool useGC
): DirectoryEntry;

Parameters

distinguishedName
The URI of the directory entry to open.
useGC
True, if a Global Catalog should be queried. False, otherwise

Return Value

The DirectoryEntry of the specified path.

See Also

ADLayer Class | InfiniTec.ActiveDirectory Namespace | ADLayer.GetDirectoryEntry Overload List