Platform SDK: Active Directory, ADSI, and Directory Services |
Active Directory™ Service Interfaces (ADSI) provides the means for client applications of directory services to use one set of interfaces to communicate with any namespace that provides an ADSI implementation. ADSI clients use the well-defined Active Directory Service Interfaces in place of the network-specific API calls to gain simpler access to the services for a namespace.
Active Directory Service Interfaces conform to the Component Object Model (COM) and support standard COM features.
ADSI supplies interfaces that are compliant with Automation for name-bound controllers like Java, Microsoft® Visual Basic®, and Visual Basic Scripting Edition (VBScript). ADSI can also provide an interface that can optimize performance for interfaces that are not compliant with Automation, to use with language environments like C and C++.
The pure COM interfaces IDirectoryObject and IDirectorySearch support directory queries and object management.
In addition, ADSI supplies its own OLE DB provider, so that any client already using OLE DB, including those using ActiveX® Data Objects, can query directory services directly.
Web applications using Active Server Pages also can program access to directory services through ADSI.
ADSI clients can programmatically discover all the ADSI providers at a site and use the same interfaces to communicate with each namespace. As additional providers are installed, the ADSI clients can communicate, without recompiling, with the new namespaces as well.
ADSI supplies system providers for the LDAP, NDS, Novell NetWare 3.x, and WinNT namespaces.
This programming guide describes how ADSI works and provides information for performing specific tasks in ADSI. The following topics are discussed: