CNContact.IsUnifiedWithContact
------------------------------

Checks if the contact is unified based on other contact.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Contacts](component_Contacts.md) | [8.5](newinversion85.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "CNContact.IsUnifiedWithContact"; ContactIdentifier; OtherContactIdentifier ) 

**MBS**( **"CNContact.IsUnifiedWithContact";** /\* Checks if the contact is unified based on other contact. \*/  
**$ContactIdentifier**; /\* The contact identifier.e.g. "9B6315CA-5331-44A6-96D0-16F315BA9AEB" \*/   
**$OtherContactIdentifier**) /\* The second contact identifier.e.g. "F73B1D68-984A-434E-B3DE-1E92549C89B0:ABPerson" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ContactIdentifier | The contact identifier. | "9B6315CA-5331-44A6-96D0-16F315BA9AEB" |
| OtherContactIdentifier | The second contact identifier. | "F73B1D68-984A-434E-B3DE-1E92549C89B0:ABPerson" |

### Result

Returns 1, 0 or error.

### Description

Checks if the contact is unified based on other contact.  
Returns 1 if the receiver was fetched as a unified contact and includes the contact having contactIdentifier in its unification, else 0.  
### Examples

Check if a contact belongs to another:

 MBS ( "CNContact.IsUnifiedWithContact"; "9B6315CA-5331-44A6-96D0-16F315BA9AEB"; "F73B1D68-984A-434E-B3DE-1E92549C89B0:ABPerson" )  
### See also

- [CNContact.UnifiedContacts](CNContactUnifiedContacts.md)

### Release notes

- **Version 8.5**
    - Added [CNContactStore.Contacts](http://www.mbsplugins.eu/CNContactStoreContacts.shtml), [CNContact.UnifiedContacts](http://www.mbsplugins.eu/CNContactUnifiedContacts.shtml) and [CNContact.IsUnifiedWithContact](http://www.mbsplugins.eu/CNContactIsUnifiedWithContact.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 8.5pr1](https://www.mbsplugins.de/archive/2018-10-02/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 25th September 2018 , last changed 25th September 2018

  
[CNContact.HasValue](CNContactHasValue.md) - [CNContact.JSON](CNContactJSON.md)

[HTML Version](CNContactIsUnifiedWithContact.shtml)