ResolveNames
The ResolveNames element defines a request to resolve ambiguous names.
<ResolveNames ReturnFullContactData="" SearchScope="" ContactDataShape="">
<ParentFolderIds/>
<UnresolvedEntry/>
</ResolveNames>
ResolveNamesType
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
ReturnFullContactData |
Describes whether the full contact details for public contacts for a resolved name are returned in the response. This attribute is required for public contacts. This value does not affect private contacts and private distribution lists, for which ItemId is always returned. |
SearchScope |
Identifies the order and scope for a ResolveNames search. |
ContactDataShape |
Identifies the property set returned for contacts. This attribute was introduced in Exchange Server 2010 Service Pack 2 (SP2). |
ReturnFullContactData attribute values
Value | Description |
---|---|
True |
Full contact details for public contacts are returned. |
False |
Full contact details for public contacts are not returned. |
SearchScope attribute values
Value | Description |
---|---|
ActiveDirectory |
Only the Active Directory directory service is searched. |
ActiveDirectoryContacts |
Active Directory is searched first, and then the contact folders that are specified in the ParentFolderIds property are searched. |
Contacts |
Only the contact folders that are identified by the ParentFolderIds property are searched. |
ContactsActiveDirectory |
Contact folders that are identified by the ParentFolderIds property are searched first and then Active Directory is searched. |
ContactDataShape attribute values
Value | Description |
---|---|
IdOnly |
The contact item identifier property is returned. |
Default |
The Default set of contact item properties is returned. For more information, see Response shapes in EWS. |
AllProperties |
The AllProperties set of contact item properties are returned. For more information, see Response shapes in EWS. |
Child elements
Element | Description |
---|---|
ParentFolderIds |
Contains an array of contact folder identifiers that would be searched if the SearchScope attribute is set to ActiveDirectoryContacts, Contacts, or ContactsActiveDirectory. The ParentFolderIds array can only contain a single contact folder identifier. If the ParentFolderIds element is not present, the default Contacts folder is searched. The folder identifier can be used for delegate access. Active Directory searches are performed by using access control lists (ACLs). Some users might not have the rights to see some Active Directory objects. This element is optional. |
UnresolvedEntry |
Contains the name of a contact or distribution list to resolve. |
Parent elements
None.
Remarks
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Element information
Name | Value |
---|---|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/messages |
Schema name |
Messages schema |
Validation file |
Messages.xsd |
Can be empty |
False |