# OfflineAddressBookIdentityCandidate

One exact or heuristic directory match, with enough data to resolve EX/X.500 identities to SMTP.

Class 

`OfficeIMO.Email.AddressBook`

**Namespace**

`OfficeIMO.Email.AddressBook`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[OfflineAddressBookIdentityResolution.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L98)

**Modifiers**

sealed

One exact or heuristic directory match, with enough data to resolve EX/X.500 identities to SMTP.

## Inheritance

- object
- OfflineAddressBookIdentityCandidate

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [OfflineAddressBookIdentityResolution.Candidate](/api/email/officeimo-email-addressbook-offlineaddressbookidentityresolution/#property-candidate)
- Property [OfflineAddressBookIdentityResolution.Candidates](/api/email/officeimo-email-addressbook-offlineaddressbookidentityresolution/#property-candidates)

Filter members 

Show inherited

## Methods

`public EmailAddress ToEmailAddress()` [#](#method-toemailaddress)

[OfflineAddressBookIdentityResolution.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L98)

Returns the best portable address, preferring primary SMTP over the legacy Exchange identity.

Returns

`EmailAddress`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OfflineAddressBookEntryReference Reference { get; }` [#](#property-reference)

[OfflineAddressBookIdentityResolution.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L73)

Stable reference that can be read through the originating session while it remains open.

`public string? DisplayName { get; }` [#](#property-displayname)

[OfflineAddressBookIdentityResolution.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L75)

Directory display name.

`public string? PrimarySmtpAddress { get; }` [#](#property-primarysmtpaddress)

[OfflineAddressBookIdentityResolution.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L77)

Primary SMTP address, when published by the OAB.

`public string? LegacyExchangeDistinguishedName { get; }` [#](#property-legacyexchangedistinguishedname)

[OfflineAddressBookIdentityResolution.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L79)

Primary legacy Exchange/X.500 distinguished name, when published by the OAB.

`public string? AccountName { get; }` [#](#property-accountname)

[OfflineAddressBookIdentityResolution.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L81)

Directory account name, when published by the OAB.

`public OfflineAddressBookObjectType ObjectType { get; }` [#](#property-objecttype)

[OfflineAddressBookIdentityResolution.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L83)

Projected directory object type.

`public bool IsDistributionList { get; }` [#](#property-isdistributionlist)

[OfflineAddressBookIdentityResolution.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L85)

Whether the entry represents a distribution list.

`public string MatchedIdentity { get; }` [#](#property-matchedidentity)

[OfflineAddressBookIdentityResolution.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L87)

Exact source value that matched.

`public string AddressType { get; }` [#](#property-addresstype)

[OfflineAddressBookIdentityResolution.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L89)

Normalized address type used for the match, such as SMTP, EX, X500, SIP, ACCOUNT, or DISPLAY.

`public OfflineAddressBookIdentityMatchSource MatchSource { get; }` [#](#property-matchsource)

[OfflineAddressBookIdentityResolution.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L91)

Directory field that supplied the match.

`public bool IsAuthoritativeAddress { get; }` [#](#property-isauthoritativeaddress)

[OfflineAddressBookIdentityResolution.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/AddressBook/Identity/OfflineAddressBookIdentityResolution.cs#L93)

True for address-valued directory fields; false for account and display-name fallbacks.

<!-- PowerForge markdown artifact sha256:F713A3BFDE69DF60C1946C0C9868A87F51C61134EA7131A77D4670AB672D1F1E -->
