DirectoryEntry.DirectoryEntry (Object)
The DirectoryEntry constructor initializes a new instance of the DirectoryEntry class that binds to the specified native Active Directory object.
public DirectoryEntry(
Object adsObject
);
Public Sub New( _
ByVal adsObject As Object _
)
Parameters
- adsObject
Contains the name of the native Active Directory object to bind to.
Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code.
Remarks
This constructor is useful if you have acquired a native Active Directory object that implements the IADs interface through a native API.
Requirements
Client | Requires Windows XP Home Edition, Windows XP Professional, Windows Me, or Windows 98. |
Server | Requires Windows Server 2003, Windows 2000, or Windows NT 4.0. |
Namespace | Defined in System.DirectoryServices. |
Assembly | Requires System.DirectoryServices (in System.DirectoryServices.dll). |
.NET Framework | Requires .NET Framework 1.0. |
See Also
DirectoryEntry, DirectoryEntry Constructors, Managed Extensions for C++ Programming, NativeObject, System.DirectoryServices Namespace, Using Libraries From Partially Trusted Code