Platform SDK: Exchange Server

SearchRequest

The search operation allows a client to search the directory

Parameters

baseObject
The distinguished name (DN) of the object where the search starts.
Scope
Microsoft Exchange Server supports all three options: baseObject, singleLevel, and wholeSubtree.
Filter
Provides a set of conditions that need to be met. Microsoft Exchange Server supports all filters, namely: and, or, not, equalityMatch, substrings, greaterOrEqual, lessOrEqual, present, approxMatch (maps to equalityMatch), and extensibleMatch.
derefAliases
The use of this parameter is not implemented.
SizeLimit
Allows the client to limit the number of entries to be returned as a result of a search operation. A value of 0 indicates no size restrictions. The default is 0.
TimeLimit
Allows the client to limit the time in seconds for a search operation. A value of 0 indicates no time limit.
attrsOnly
Indicates whether only Attribute Type or Types and Value should be returned. The default is FALSE (Types and Value).
Attributes
Allows the client to specify a list of attributes from entries found to be returned. An empty list signifies all attributes. The default is to return all attributes.
matchedOnly
The use of this parameter is not implemented.
sortKeys
The use of this parameter is not implemented.
ReverseSort
The use of this parameter is not implemented.
ModifyRightsReq
The use of this parameter is not implemented.
AttrSizeLimit
Allows the client to prevent attributes exeeding a specified size from being returned. A value 0 indicates no size limit restrictions. The default is 0.
Subentries
Allows the client to specify that only subentries should be searched not ordinary entries. The LDAP version 3 specification allows a server to return an empty list or ProtocolError as a result of this.
DontUseCopy
The use of this parameter is not implemented.