Article ID: 233023 - View products that this article applies to.
This article was previously published under Q233023
Microsoft Active Directory Service Interfaces (ADSI) is built on a provider model, where clients interact with ADSI interfaces to perform directory manipulation, while providers implement the mapping between the directory and ADSI interfaces.
This article shows you how to find and list all ADSI providers on a system.
This can be accomplished by enumerating ADs namespace members with the following code for both Microsoft Visual C++ and Microsoft Visual Basic.
Visual C++Using Visual C++ paste the following code into a Microsoft C++ Source File:
Visual BasicFirst make a reference to the "Active DS Type Library" by selecting References from the Visual Basic Tools menu. Then paste the following code into a Visual Basic standard module:
For additional information about ADSI, please visit:
Article ID: 233023 - Last Review: September 28, 2007 - Revision: 2.3