Skip to Content
The .NET Developer’s Guide to Directory Services Programming
book

The .NET Developer’s Guide to Directory Services Programming

by Joe Kaplan, Ryan Dunn
May 2006
Intermediate to advanced
512 pages
11h 17m
English
Addison-Wesley Professional
Content preview from The .NET Developer’s Guide to Directory Services Programming

6. Reading and Writing LDAP Attributes

In this chapter, we explore how to read and write LDAP data using System.DirectoryServices (SDS). As we discussed in Chapter 1, LDAP data is represented by attributes defined in the LDAP schema. It’s interesting how attribute syntaxes in an LDAP directory are converted by the ADSI layer into COM data types, and how those COM data types are again translated into .NET data types. In fact, this is one of the aspects of directory services programming that developers often struggle with. We’ll spend a significant portion of the chapter explaining how all of the different syntaxes relate to .NET and we’ll provide samples for reading and writing each type. Finally, we’ll touch on some interesting problems with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Log Parser Toolkit

Microsoft Log Parser Toolkit

Gabriele Giuseppini, Mark Burnett

Publisher Resources

ISBN: 0321350170Purchase book