Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CNContactStore.ContactsMatchingName
Queries matching contacts for a name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "CNContactStore.ContactsMatchingName"; Name ) More
Parameters
Parameter | Description | Example |
---|---|---|
Name | The name to match against. | "Joe Miller" |
Result
Returns list or error.
Description
Queries matching contacts for a name.Returns list of contact identifiers.
This will use unified contacts, so data is merged from several sources.
Examples
Query name of first contact found with given name:
MBS("CNContact.Name"; GetValue ( MBS( "CNContactStore.ContactsMatchingName"; "Joe Miller" ); 1))
See also
- CNContact.JSON
- CNContact.Name
- CNContactStore.Contacts
- CNContactStore.ContactsMatchingEmailAddress
- CNContactStore.ContactsMatchingPhoneNumber
- CNContactStore.ContactsMatchingURL
- CNContactStore.ContactsWithData
- CNContactStore.DataWithContacts
Release notes
- Version 10.1
- Fixed CNContactStore.Contacts, CNContactStore.UnifiedMeContact, CNContactStore.ContactsInGroup, CNContactStore.ContactsMatchingName and others to work if your iOS application has not the entitlement to access notes in contacts.
Example Databases
Blog Entries
This function checks for a license.
Created 1st August 2018, last changed 21st September 2018
CNContactStore.ContactsMatchingEmailAddress - CNContactStore.ContactsMatchingPhoneNumber