Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.ResolveNamesAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

ResolveNamesAsync(String, Object)

Begins asynchronous ResolveNames operation. Searches Exchange users and Contacts for the specified name.

Declaration
public Task<IList<EwsResolvedName>> ResolveNamesAsync(string name, object state = null)
Parameters
Type Name Description
String name

Name to be resolved (part of the User or Contact name).

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<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'"
In This Article
  • ResolveNamesAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies