Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CNContact.IsUnifiedWithContact
Checks if the contact is unified based on other contact.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "CNContact.IsUnifiedWithContact"; ContactIdentifier; OtherContactIdentifier ) More
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
Release notes
- Version 8.5
- Added CNContactStore.Contacts, CNContact.UnifiedContacts and CNContact.IsUnifiedWithContact functions.
Blog Entries
This function checks for a license.
Created 25th September 2018, last changed 25th September 2018