CNContactStore.Subgroups
------------------------

Queries subgroups of a group.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Contacts](component_Contacts.md) | [8.4](newinversion84.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "CNContactStore.Subgroups"; GroupIdentifier ) 

**MBS**( **"CNContactStore.Subgroups";** /\* Queries subgroups of a group. \*/  
**$GroupIdentifier**) /\* The group identifier.  
Can be identifier or group name.e.g. "F527BF7C-6426-4D48-86CA-CB5E57743FFE:ABGroup" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| GroupIdentifier | The group identifier.   Can be identifier or group name. | "F527BF7C-6426-4D48-86CA-CB5E57743FFE:ABGroup" |

### Result

Returns list of group identifiers or error.

### Description

Queries subgroups of a group.  
### See also

- [CNContactStore.AddGroup](CNContactStoreAddGroup.md)
- [CNContactStore.AddSubgroup](CNContactStoreAddSubgroup.md)
- [CNContactStore.Groups](CNContactStoreGroups.md)
- [CNContactStore.RemoveSubgroup](CNContactStoreRemoveSubgroup.md)

This function checks for a license.

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

  
[CNContactStore.SetTransactionAuthor](CNContactStoreSetTransactionAuthor.md) - [CNContactStore.UnifiedMeContact](CNContactStoreUnifiedMeContact.md)

[HTML Version](CNContactStoreSubgroups.shtml)