DataComClient GetContact Method Kentico 8.0 API Reference
Searches Data.com for a contact with the specified identifier and returns the result using the Data.com user account with given credential.

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

contactId
Type: OnlineSystem Int64
The identifier of a contact in Data.com.
purchaseFlag
Type: OnlineSystem Boolean
The value that indicates whether the service should attempt to buy the contact and deduct points from the Data.com user account with given credential.
userCredential
Type: OnlineSystem.Net NetworkCredential
The Data.com user credential.

Return Value

Type: Contact
The contact with the specified identifier, if the contact is found; otherwise, null.
See Also