Ews.ResolveNames Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
ResolveNames(String)
Searches Exchange users and Contacts for the specified name.
Declaration
public IList<EwsResolvedName> ResolveNames(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name to be resolved (part of the User or Contact name). |
Returns
Type | Description |
---|---|
IList<EwsResolvedName> | List of EwsResolvedName objects, which contain information about users and contacts found. |
Remarks
The method searches in Name field of Exchange users and Contacts only. It doesn't search in Email address field, so requests like ResolveNames("@domain") find nothing typically.
Examples
ResolveNames("test") finds:
- - users like "Joe Tester"
- - contacts like "Joe Tester 'joe@intranet.org'"