Subscribe to Windows IT Pro
January 27, 2000 12:00 AM

The Search Function

Windows IT Pro
InstantDoc ID #8053
Rating: (0)

Automatic report generation in Listing 2 uses a subprocedure in the complete listing that you can download from Windows 2000 Magazine's Web site at http://www.win2000mag.com/articles. (Enter 8054 in the InstantDoc ID text box, and download the 8054.zip file.) This function uses ActiveX Data Objects (ADO) technology, which is part of Microsoft Data Access Components (MDAC), that you can use to access databases. When Microsoft designed Active Directory (AD), the company knew that users would need to rapidly search and retrieve result sets. Rather than create a new technology to search and retrieve this information, the company created a connector that lets users use ADO to search AD. This tool's job is to connect to AD and use certain criteria to return a multidimensional array of results. You'll find a detailed description of the basics of this subprocedure in Win32 Scripting Journal, "An ADSI Primer, Part 5: Using ADO to Script Fast ADSI Searches," May 1999 (http://www.win32scripting.com).

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.