Advanced LDAP Searches

Beyond the Basics of Searching, System.DirectoryServices (SDS) exposes some powerful options to the developer. This chapter takes a look at the advanced options and demonstrates how and when to use them.

We start with some of the advanced behaviors that apply to many different kinds of searches, such as:

  • Administrative limits
  • Timeouts
  • Performance optimization
  • Global catalog searches in Active Directory
  • Referral chasing

The second part of the chapter switches to the advanced searching features supported by Active Directory and ADAM that were introduced to SDS in version 2.0 of the .NET Framework. These include:

  • Virtual List Views (VLVs)
  • Deleted object searches
  • Directory synchronization
  • Attribute scope queries
  • Extended distinguished name (DN) queries
  • Security descriptor searches

We finish up with a discussion of asynchronous searches using the System.DirectoryServices.Protocols (SDS.P) namespace.

Administrative Limits Governing Active Directory and ADAM

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: