ResolveNamesType Class
The ResolveNamesType class represents a request to resolve names against the Active Directory directory service and a user's default Contacts folder.
Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
Syntax
'Declaration
<SerializableAttribute> _
<DebuggerStepThroughAttribute> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/exchange/services/2006/messages")> _
<DesignerCategoryAttribute("code")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
Public Class ResolveNamesType
Inherits BaseRequestType
[SerializableAttribute]
[DebuggerStepThroughAttribute]
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/messages")]
[DesignerCategoryAttribute("code")]
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public class ResolveNamesType : BaseRequestType
[SerializableAttribute]
[DebuggerStepThroughAttribute]
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/exchange/services/2006/messages")]
[DesignerCategoryAttribute(L"code")]
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")]
public ref class ResolveNamesType : public BaseRequestType
/** @attribute SerializableAttribute() */
/** @attribute DebuggerStepThroughAttribute() */
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/messages") */
/** @attribute DesignerCategoryAttribute("code") */
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */
public class ResolveNamesType extends BaseRequestType
SerializableAttribute
DebuggerStepThroughAttribute
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/messages")
DesignerCategoryAttribute("code")
GeneratedCodeAttribute("wsdl", "2.0.50727.42")
public class ResolveNamesType extends BaseRequestType
Remarks
The ResolveNames response returns a maximum of 100 candidates. The 100 candidates that are returned are the first 100 that are encountered in the lookup operation.
Only one ambiguous name can be specified in a single request. Active Directory is searched first, and then the user's contact folder is searched. Resolved entries from a user's contact folder have a non-null ItemId property, which can be used in a GetItem request. If the ID is that of a private distribution list, it can be used in an ExpandDL Operation. If the ReturnFullContactData property is set to true, Active Directory entries that are found by using the ResolveNames Operation will return additional properties that describe a ContactItemType. The ReturnFullContactData property does not affect the data that is returned for contacts and private distribution lists from the user's contact folder.
Inheritance Hierarchy
System.Object
ExchangeWebServices.BaseRequestType
ExchangeWebServices.ResolveNamesType
Example
The following code example shows you how to create a request to resolve an ambiguous name.
// Create the ResolveNamesType and set the unresolved entry.
ResolveNamesType rnRequest = new ResolveNamesType();
rnRequest.ReturnFullContactData = true;
rnRequest.UnresolvedEntry = "brianjb";
// Send the request and get the response.
ResolveNamesResponseType resolveNamesResponse = esb.ResolveNames(rnRequest);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
See Also