Searches Exchange users and Contacts for the specified name.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Function ResolveNames ( _
	name As String _
) As IList(Of EwsResolvedName)
C#
public IList<EwsResolvedName> ResolveNames(
	string name
)

Parameters

name
Type: System..::..String
Name to be resolved (part of the User or Contact name).

Return Value

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'"

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also