Platform SDK: Active Directory, ADSI, and Directory Services |
Active Directory™ Service Interfaces are COM interfaces that wrap directory service objects to make them accessible to clients of directory services. By supplying an implementation of ADSI, you expand your clientele to the set of ADSI client applications.
As with any COM implementation, you can write an ADSI provider in many languages. The ADSI COM interfaces are defined as dual interfaces that allow both run-time and compile-time name resolution and can be called by Automation-compliant languages like Microsoft® Visual Basic®, Visual Basic® Scripting, and also the more performance and efficiency-conscious languages such as C and C++. ADSI clients also include web applications using Active Server Pages and administration snap-ins through the Microsoft Management Console.
Because ADSI supplies its own OLE DB provider, implementing the search functionality defined by IDirectorySearch also enables ADSI clients to query your directory service for information of interest.
All directory service objects can be represented through a generic ADSI object supporting IDirectoryObject. ADSI supplies the building blocks necessary to represent the features and services of any directory service.
In addition, the ADSI meta-interfaces represent common objects used by directory administrators. You map the properties of the meta-interfaces to the properties supported by your directory service. ADSI clients programming to the Active Directory Service Interfaces gain access to your directory service as soon as the provider is installed and the system re-started.
If your directory service supports a schema representation, supporting the schema management interfaces makes your namespace directly accessible to directory service browsers. By publishing your features through the schema, clients can query your directory service on-line and take advantage of the services you offer. Because of the on-line schema availability and the COM interface advantage, you can continue to make new functionality available to your client software while supporting down-level versions.