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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.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

This function checks for a license.

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


CNContactStore.ContactsMatchingEmailAddress - CNContactStore.ContactsMatchingPhoneNumber

💬 Ask a question or report a problem