Asynchronous Searches

Table of contents:


The first part of the chapter dug into the advanced searching topics that tend to affect all types of queries and operations, such as timeouts and performance optimization. We also demonstrated how we can search for objects in multiple domains in the same Active Directory forest using the global catalog, or find objects in other naming contexts via referrals.

In the second part of the chapter, we covered the advanced searching features supported by Active Directory and ADAM that were introduced to SDS in version 2.0 of the .NET Framework. We included detailed explanations and samples for the following new features:

  • Virtual List Views
  • Deleted object searches
  • Directory synchronization
  • Attribute scope query(ies)
  • Extended DN queries
  • Security descriptor searches

We concluded with a departure from our normal discussion by demonstrating how we can perform asynchronous searches using the System.DirectoryServices.Protocols namespace.

Part I: Fundamentals

Introduction to LDAP and Active Directory

Introduction to .NET Directory Services Programming

Binding and CRUD Operations with DirectoryEntry

Searching with the DirectorySearcher

Advanced LDAP Searches

Reading and Writing LDAP Attributes

Active Directory and ADAM Schema

Security in Directory Services Programming

Introduction to the ActiveDirectory Namespace

Part II: Practical Applications

User Management

Group Management


Part III: Appendixes

Appendix A. Three Approaches to COM Interop with ADSI

Appendix B. LDAP Tools for Programmers

Appendix C. Troubleshooting and Help


The. NET Developer's Guide to Directory Services Programming
The .NET Developers Guide to Directory Services Programming
ISBN: 0321350170
EAN: 2147483647
Year: 2004
Pages: 165 © 2008-2020.
If you may any questions please contact us: