Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Release notes

Example Databases

Blog Entries

Created 1st August 2018, last changed 21st September 2018


CNContactStore.ContactsMatchingEmailAddress - CNContactStore.ContactsMatchingPhoneNumber

Feedback: Report problem or ask question.