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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

CNContactStore.GroupsForContact

Searches all groups for a given contact.

Component Version macOS Windows Linux Server iOS SDK
Contacts 8.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "CNContactStore.GroupsForContact"; ContactIdentifier )   More

Parameters

Parameter Description Example
ContactIdentifier The contact identifier. "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E"

Result

Returns list of group identifiers or error.

Description

Searches all groups for a given contact.

Examples

Search groups for a contact:

MBS( "CNContactStore.GroupsForContact"; "185E03A8-D1B8-4C9A-8183-D0B63FF7569C:ABPerson" )

See also

Blog Entries

This function checks for a license.

Created 22nd August 2018, last changed 27th January 2020


CNContactStore.GroupsByName - CNContactStore.GroupsInContainer

💬 Ask a question or report a problem