CNContactStore.ContactsInContainer
----------------------------------

Queries list of contacts in a container.

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

MBS( "CNContactStore.ContactsInContainer"; ContainerIdentifier ) 

**MBS**( **"CNContactStore.ContactsInContainer";** /\* Queries list of contacts in a container. \*/  
**$ContainerIdentifier**) /\* The identifier for the container.e.g. "9892A5CC-964E-497A-B877-A47619F7493C:ABAccount" \*/ 

### Parameters

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

### Result

Returns list or error.

### Description

Queries list of contacts in a container.  
Returns list of contact identifiers.  
### See also

- [CNContactStore.GroupsInContainer](CNContactStoreGroupsInContainer.md)

This function checks for a license.

Created 1st August 2018 , last changed 2nd August 2018

  
[CNContactStore.Contacts](CNContactStoreContacts.md) - [CNContactStore.ContactsInGroup](CNContactStoreContactsInGroup.md)

[HTML Version](CNContactStoreContactsInContainer.shtml)