System.DirectoryServices.Protocols

System.DirectoryServices.Protocols is a namespace designed for LDAP programming. It provides capabilities that were previously unavailable to managed code programmers such as running an attribute scoped query against an LDAP directory or binding to a directory server using X.509 client and server certificates. Therefore, if you plan to use .NET managed code against other LDAP directories, a great place to focus is on S.DS.P

Common Patterns:

 
LdapConnection connection = new LdapConnection("fabrikam.com");

DirectoryRequestType request = new DirectoryRequestType(parameters…);

DirectoryResponseType response = (DirectoryResponseType)connection.SendRequest(request);

Speak Your Mind

*