Directory CRUD Operations

Table of contents:

Summary

In this chapter, we dove into detail on the DirectoryEntry class. DirectoryEntry is the core object in SDS and it controls how most of our interaction with the directory works. Even DirectorySearcher, the other core object in SDS, relies on DirectoryEntry to establish a connection to the directory and a security context to use for searching.

We focused heavily on the parameters used for constructing DirectoryEntry objects because the syntax for each is important. We also discussed how the various settings affect each and what some of the behaviors of specific directories require to achieve specific results.

We also took a tour through some of the more exotic binding methods, such as GUID, SID, and the well-known GUID binding.

Finally, we demonstrated how DirectoryEntry is used to perform the key CRUD operations on an LDAP directory, and how objects in the directory are moved and renamed.

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

Authentication

Part III: Appendixes

Appendix A. Three Approaches to COM Interop with ADSI

Appendix B. LDAP Tools for Programmers

Appendix C. Troubleshooting and Help

Index



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

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net