C# Class Novell.Directory.Ldap.LdapSearchRequest

Represents an Ldap Search request.
Inheritance: LdapMessage
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
LdapSearchRequest ( System base_Renamed, int scope, RfcFilter filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System

Constructs an Ldap Search Request with a filter in Asn1 format.

LdapSearchRequest ( System base_Renamed, int scope, System filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System

Constructs an Ldap Search Request.

Method Details

LdapSearchRequest() public method

Constructs an Ldap Search Request with a filter in Asn1 format.
public LdapSearchRequest ( System base_Renamed, int scope, RfcFilter filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System
base_Renamed System
scope int The scope of the entries to search. The following /// are the valid options: ///
    ///
  • SCOPE_BASE - searches only the base DN
  • /// ///
  • SCOPE_ONE - searches only entries under the base DN
  • /// ///
  • SCOPE_SUB - searches the base DN and all entries /// within its subtree
  • ///
///
filter Novell.Directory.Ldap.Rfc2251.RfcFilter The search filter specifying the search criteria. /// ///
attrs System The names of attributes to retrieve. /// operation exceeds the time limit. /// ///
dereference int Specifies when aliases should be dereferenced. /// Must be either one of the constants defined in /// LdapConstraints, which are DEREF_NEVER, /// DEREF_FINDING, DEREF_SEARCHING, or DEREF_ALWAYS. /// ///
maxResults int The maximum number of search results to return /// for a search request. /// The search operation will be terminated by the server /// with an LdapException.SIZE_LIMIT_EXCEEDED if the /// number of results exceed the maximum. /// ///
serverTimeLimit int The maximum time in seconds that the server /// should spend returning search results. This is a /// server-enforced limit. A value of 0 means /// no time limit. /// ///
typesOnly bool If true, returns the names but not the values of /// the attributes found. If false, returns the /// names and values for attributes found. /// ///
cont LdapControl Any controls that apply to the search request. /// or null if none. /// ///
return System

LdapSearchRequest() public method

Constructs an Ldap Search Request.
public LdapSearchRequest ( System base_Renamed, int scope, System filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System
base_Renamed System
scope int The scope of the entries to search. The following /// are the valid options: ///
    ///
  • SCOPE_BASE - searches only the base DN
  • /// ///
  • SCOPE_ONE - searches only entries under the base DN
  • /// ///
  • SCOPE_SUB - searches the base DN and all entries /// within its subtree
  • ///
///
filter System The search filter specifying the search criteria. /// ///
attrs System The names of attributes to retrieve. /// operation exceeds the time limit. /// ///
dereference int Specifies when aliases should be dereferenced. /// Must be one of the constants defined in /// LdapConstraints, which are DEREF_NEVER, /// DEREF_FINDING, DEREF_SEARCHING, or DEREF_ALWAYS. /// ///
maxResults int The maximum number of search results to return /// for a search request. /// The search operation will be terminated by the server /// with an LdapException.SIZE_LIMIT_EXCEEDED if the /// number of results exceed the maximum. /// ///
serverTimeLimit int The maximum time in seconds that the server /// should spend returning search results. This is a /// server-enforced limit. A value of 0 means /// no time limit. /// ///
typesOnly bool If true, returns the names but not the values of /// the attributes found. If false, returns the /// names and values for attributes found. /// ///
cont LdapControl Any controls that apply to the search request. /// or null if none. /// ///
return System