Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.DirectoryServices.Protocols Namespace

The System.DirectoryServices.Protocols namespace provides the methods defined in the Lightweight Directory Access Protocol (LDAP) version 3 (V3) and Directory Services Markup Language (DSML) version 2.0 (V2) standards.

  Class Description
Public class AddRequest The AddRequest class adds an entry to the directory.
Public class AddResponse The AddResponse class is returned by SendRequest as a response to AddRequest.
Public class AsqRequestControl The AsqRequestControl class creates an attribute scoped query (ASQ) control. This control is used with a search request to force the query to be based on a specific DN-valued attribute.
Public class AsqResponseControl The AsqResponseControl class is returned in a SearchResponse object as a response to a AsqRequestControl query.
Public class BerConversionException The BerConversionException class is an exception thrown when converting data using a BerConverter object.
Public class BerConverter The BerConverter class encodes and decodes structured data using basic encoding rules (BER).
Public class CompareRequest The CompareRequest class determines whether the directory object holds the specified value for the attribute.
Public class CompareResponse The CompareResponse class is returned by SendRequest as a response to CompareRequest.
Public class CrossDomainMoveControl The CrossDomainMoveControl class is used with a ModifyDNRequest object to move an LDAP object from one domain to another.
Public class DeleteRequest The DeleteRequest class deletes an entry from the directory.
Public class DeleteResponse The DeleteResponse class is returned by SendRequest as a response to DeleteRequest.
Public class DirectoryAttribute The DirectoryAttribute class enables access to the attribute values.
Public class DirectoryAttributeCollection The DirectoryAttributeCollection class contains a collection of DirectoryAttribute objects.
Public class DirectoryAttributeModification The DirectoryAttributeModification class enables modification of the DirectoryAttribute values.
Public class DirectoryAttributeModificationCollection The DirectoryAttributeModificationCollection class contains a collection of DirectoryAttributeModification objects.
Public class DirectoryConnection The DirectoryConnection class is an abstract class and cannot be instantiated. Use the LdapConnection or DsmlSoapHttpConnection classes to connect to a directory server.
Public class DirectoryControl The DirectoryControl class specifies extension data for various LDAP operations.
Public class DirectoryControlCollection The DirectoryControlCollection class manages a collection of DirectoryControl objects.
Public class DirectoryException The DirectoryException class is an abstract class used as the base class for all System.DirectoryServices.Protocols exceptions.
Public class DirectoryIdentifier The DirectoryIdentifier class is an abstract class that identifies the target to connect to.
Public class DirectoryNotificationControl The DirectoryNotificationControl class is a directory control used with an extended LDAP asynchronous search function to register the client to be notified when changes are made to an object in the Active Directory Domain Services.
Public class DirectoryOperation The DirectoryOperation class is an abstract class used as a base for request and response elements.
Public class DirectoryOperationException The DirectoryOperationException class is an exception thrown by the LdapConnection.SendRequest method to indicate that the server returned a DirectoryResponse object with an error.
Public class DirectoryRequest The DirectoryRequest class is the base class for request related classes, like the SearchRequest and AddRequest classes.
Public class DirectoryResponse The DirectoryResponse class is the base class for request response classes, like the SearchResponse and AddResponse classes.
Public class DirSyncRequestControl The DirSyncRequestControl class is a directory control that enables the application to search the directory for objects that have changed since a previous state.
Public class DirSyncResponseControl The DirSyncResponseControl class is a directory control used to pass DirSyncRequest information from the server to the client.
Public class DomainScopeControl The DomainScopeControl class is a directory control used to instruct the LDAP server not to generate referrals when completing a request.
Public class DsmlAuthRequest The DsmlAuthRequest class indicates that access control for the requests be interpreted as though the requests are performed by the security principal identified by the Principal property.
Public class DsmlAuthResponse The DsmlAuthResponse class is returned by SendRequest as a response to DsmlAuthRequest.
Public class DsmlDirectoryIdentifier The DsmlDirectoryIdentifier class identifies an HTTP server.
Public class DsmlDocument The DsmlDocument class is an abstract class to construct or manipulate a DSML document. It is the base class for both DsmlRequestDocument and DsmlResponseDocument. DsmlDocument supports collections and indexes. Each item in its collection is an object derived from DirectoryOperation.
Public class DsmlErrorResponse The DsmlErrorResponse class is generated by the server when a severe error occurs.
Public class DsmlInvalidDocumentException The DsmlInvalidDocumentException class is an exception that occurs when a DSML Request or Response document is not well-formed XML or cannot be validated with DSMLv2 schema.
Public class DsmlRequestDocument The DsmlRequestDocument class enables you to build a DSML request payload, such as AddRequest, ModifyRequest, or SearchRequest. It contains zero or more DirectoryRequest derived objects. The user may add, delete, modify, and enumerate the DirectoryRequest before sending to the server. DsmlRequestDocument can be used with any DSML Binding classes to transport the document, such as DsmlSoapHttpConnection.
Public class DsmlResponseDocument The DsmlResponseDocument class is a read-only collection generated as a response to a DsmlRequestDocument object that contains zero, or more, objects derived from DirectoryResponse.
Public class DsmlSoapConnection The DsmlSoapConnection class is an abstract class that cannot be instantiated. It enables stateless and stateful protocols to be handled similarly by providing session-oriented features.
Public class DsmlSoapHttpConnection The DsmlSoapHttpConnection class represents a connection to a DSML Gateway using SOAP over HTTP.
Public class ErrorResponseException The ErrorResponseException class is an exception that occurs when the server returns an <errorResponse>.
Public class ExtendedDNControl The ExtendedDNControl class requests an extended form of the distinguished name of an Active Directory Domain Services object.
Public class ExtendedRequest The ExtendedRequest class passes extended LDAP operations to the server.
Public class ExtendedResponse The ExtendedResponse class is returned by SendRequest as a response to ExtendedRequest.
Public class LazyCommitControl The LazyCommitControl class instructs the server to return the results of a DS modification command, such as add, delete, or replace, after it has been completed in memory, but before it has been committed to disk.
Public class LdapConnection The LdapConnection class creates a TCP/IP or UDP LDAP connection to Microsoft Active Directory Domain Services or an LDAP server.
Public class LdapDirectoryIdentifier The LdapDirectoryIdentifier class creates a directory identifier for one or more LDAP servers.
Public class LdapException The LdapException class is an exception that occurs when LDAP returns an error code not included in ResultCode.
Public class LdapSessionOptions The LdapSessionOptions class is used to get or set various LDAP session options.
Public class ModifyDNRequest The ModifyDNRequest class modifies the distinguished name of an object. This class moves an object to a new parent and/or renames the object.
Public class ModifyDNResponse The ModifyDNResponse class is returned by SendRequest as a response to ModifyDNRequest.
Public class ModifyRequest The ModifyRequest class modifies the attributes of an existing directory entry.
Public class ModifyResponse The ModifyResponse class is returned by SendRequest as a response to ModifyRequest.
Public class PageResultRequestControl The PageResultRequestControl class instructs the server to return the search result in the specified page size.
Public class PageResultResponseControl The PageResultResponseControl class is a directory control used to pass page data from the server to the client.
Public class PartialResultsCollection The PartialResultsCollection class represents any partial results returned from a not-yet-completed asynchronous operation.
Public class PermissiveModifyControl The PermissiveModifyControl class is used to modify the behavior of a ModifyRequest object.
Public class QuotaControl The QuotaControl class is used to pass the security identifier (SID) of a security principle to retrieve quota-related data.
Public class ReferralCallback The ReferralCallback class contains delegates used as referral callback methods.
Public class SearchOptionsControl The SearchOptionsControl class is used to pass flags to the server to control search behavior.
Public class SearchRequest The SearchRequest class initiates a search operation.
Public class SearchResponse The SearchResponse class is sent by the server as a response to a SearchRequest object. This response contains zero or more SearchResultEntry objects, and zero or more SearchResultReference objects.
Public class SearchResultAttributeCollection The SearchResultAttributeCollection class is a collection of DirectoryAttribute objects.
Public class SearchResultEntry The SearchResultEntry class contains an object returned in the result set.
Public class SearchResultEntryCollection The SearchResultEntryCollection class contains a collection of SearchResultEntry objects returned in a result set.
Public class SearchResultReference The SearchResultReference class contains a single search reference returned by the server.
Public class SearchResultReferenceCollection The SearchResultReferenceCollection class contains a collection of SearchResultReference objects.
Public class SecurityDescriptorFlagControl The SecurityDescriptorFlagControl class is used to pass flags to the server to control various security descriptor behaviors.
Public class SecurityPackageContextConnectionInformation The SecurityPackageContextConnectionInformation class contains data about a secure connection.
Public class ShowDeletedControl The ShowDeletedControl class is used with SearchRequest to specify that the search results should include any deleted objects that match the search filter.
Public class SortKey The SortKey class stores sort criteria for use by sort controls.
Public class SortRequestControl The SortRequestControl class is used with SearchRequest to instruct the server to sort the search results before returning them to the client application.
Public class SortResponseControl The SortResponseControl class is used to pass sort data from the server to the client.
Public class TlsOperationException The TlsOperationException class is an exception that occurs in the StartTransportLayerSecurity method if the request fails.
Public class TreeDeleteControl The TreeDeleteControl class is used with DeleteRequest to delete an entire subtree in the directory.
Public class VerifyNameControl The VerifyNameControl class is used with an LDAP search function to specify the server used to verify the existence of an object.
Public class VlvRequestControl The VlvRequestControl class is used to request virtual list view (VLV) support from the server.
Public class VlvResponseControl The VlvResponseControl class is used to pass virtual list view (VLV) data from the server to the client.

  Delegate Description
Public delegate DereferenceConnectionCallback The DereferenceConnectionCallback delegate dereferences a connection that is no longer required. The connection was probably established through a successful call to the QueryForConnectionCallback or NotifyOfNewConnectionCallback delegate.
Public delegate NotifyOfNewConnectionCallback The NotifyOfNewConnectionCallback delegate is called if a new connection was created while chasing a referral.
Public delegate QueryClientCertificateCallback The QueryClientCertificateCallback delegate gets or sets the default callback function used to specify the client certificates while establishing an SSL connection.
Public delegate QueryForConnectionCallback The QueryForConnectionCallback delegate determines whether there is a cached connection available for use.
Public delegate VerifyServerCertificateCallback The VerifyServerCertificateCallback delegate gets or sets the default callback function used to verify server certificates when establishing an SSL connection.

  Enumeration Description
Public enumeration AuthType The AuthType enumeration is used to specify the authentication method to use on a connection.
Public enumeration DereferenceAlias The DereferenceAlias enumeration specifies the process by which aliases are dereferenced.
Public enumeration DirectoryAttributeOperation The DirectoryAttributeOperation enumeration specifies the operation to perform on a directory attribute.
Public enumeration DirectorySynchronizationOptions The DirectorySynchronizationOptions enumeration specifies the behavior of the search in a DirSyncRequestControl object.
Public enumeration DsmlDocumentProcessing The DsmlDocumentProcessing enumeration specifies the processing method for a DSML document.
Public enumeration DsmlErrorProcessing The DsmlErrorProcessing enumeration specifies how to proceed when an error occurs.
Public enumeration DsmlResponseOrder The DsmlResponseOrder enumeration specifies the order in which responses are received.
Public enumeration ErrorResponseCategory The ErrorResponseCategory enumeration contains possible DSML error responses.
Public enumeration ExtendedDNFlag The ExtendedDNFlag enumeration specifies the format of an extended distinguished name.
Public enumeration LocatorFlags The LocatorFlags enumeration specifies data required to locate a domain controller.
Public enumeration PartialResultProcessing The PartialResultProcessing enumeration specifies the required type of partial results processing.
Public enumeration ReferralChasingOptions The ReferralChasingOptions enumeration specifies if and how referral chasing is pursued.
Public enumeration ResultCode The ResultCode enumeration specifies the operation result codes.
Public enumeration SearchOption The SearchOption enumeration specifies the search options which define how the search will behave.
Public enumeration SearchScope The SearchScope enumeration specifies the scope of a search.
Public enumeration SecurityMasks The SecurityMasks enumeration specifies various security descriptor options.
Public enumeration SecurityProtocol The SecurityProtocol enumeration is used to specify the security protocol used by a connection.
© 2015 Microsoft