Directory CRUD Operations

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.

Категории