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


Queries all groups in a given container.

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


Parameter Description Example
ContainerIdentifier The identifier for the container. "9892A5CC-964E-497A-B877-A47619F7493C:ABAccount"


Returns list or error.


Queries all groups in a given container.
This function allows you to query groups in a certain account.
Returns list of group identifiers.

See also

This function checks for a license.

Created 1st August 2018, last changed 27th January 2020

CNContactStore.GroupsForContact - CNContactStore.NewContact