Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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