ExchangeService.ResolveName method
Finds and resolves contacts in a specified user's Contacts folder and the Global Address List (GAL).
| Name | Description | |
|---|---|---|
|
ResolveName(String) | Finds contacts in the user's Contacts folder and the Global Address List (GAL) — in that order — that have names matching the name that was passed as a parameter. |
|
ResolveName(String, ResolveNameSearchLocation, Boolean) | Finds contacts in the default contacts folder and/or the Global Address List (GAL) that have names matching the name that was passed as a parameter. |
|
ResolveName(String, ResolveNameSearchLocation, Boolean, PropertySet) | Finds contacts in the Global Address List (GAL) whose names match the specified name.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2. |
|
ResolveName(String, IEnumerable<FolderId>, ResolveNameSearchLocation, Boolean) | Finds contacts in specified contact folders and/or the Global Address List (GAL) that have names matching the name that was passed as a parameter. |
|
ResolveName(String, IEnumerable<FolderId>, ResolveNameSearchLocation, Boolean, PropertySet) | Finds contacts in the Global Address List (GAL) and/or in specific contact folders whose names match the specified name.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2. |
This ResolveName(String, ResolveNameSearchLocation, Boolean, PropertySet) overload and the ResolveName(String, IEnumerable<FolderId>, ResolveNameSearchLocation, Boolean, PropertySet) overload methods were introduced in the Exchange Web Services (EWS) Managed API 1.2.
Email addresses with prefixed routing types, such as smtp or sip, are saved in a multivalue array. The ResolveNames method performs a partial match against each value of that array when you add the routing type at the beginning of the unresolved name, such as “sip:User1@Contoso.com”. If you don’t specify a routing type, the ResolveNames method will default to the routing type of smtp, match it to a primary SMTP address property, and not search the multivalue array.
Calling this method results in a call to Exchange Web Service (EWS).