CustomerRepositoryTCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliationGetByPrimaryEmail(String) Method

Retrieves a single customer by their unique primary email address.

Definition

Namespace: Ignition.Crm
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public TCustomer GetByPrimaryEmail(
	string emailAddress
)

Parameters

emailAddress  String
The email address used for lookup. Must be unique.

Return Value

TCustomer
The requested customer

Exceptions

IgnitionEntityNotFoundExceptionNo customer was found with the requested primary email address
InvalidOperationExceptionMultiple customers were found with the requested primary email address.

See Also