Sorting Search Results

Table of contents:


In this chapter, we introduced the basic concepts of searching the directory. We discussed how to specify the location in the directory to start the query, and the depth in the tree that the search may traverse.

We then dug deeply into LDAP query filters, showing the query syntax as well as the rules governing how comparison values are specified for the various attribute syntaxes supported by Active Directory and ADAM. We also showed a few tricks for doing bitwise comparisons and using ANR.

We discussed how to execute a query and how to enumerate the results, limiting the number returned as needed. We also discussed how paging enables Active Directory and ADAM to support returning large numbers of search results without compromising the directory.

We concluded with a discussion of sorting results on the server.

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: