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.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

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


CNContactStore.GroupsByName - CNContactStore.GroupsInContainer

Feedback: Report problem or ask question.