CNContactStore.GroupsByName
---------------------------

Looks for groups with matching names.

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

MBS( "CNContactStore.GroupsByName"; Name ) 

**MBS**( **"CNContactStore.GroupsByName";** /\* Looks for groups with matching names. \*/  
**$Name**) /\* The group name.e.g. "Friends" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Name | The group name. | "Friends" |

### Result

Returns list of group identifiers or error.

### Description

Looks for groups with matching names.  
Returns empty list if nothing found.  
Comparison is localized case insensitive.  
### Examples

Query a group:

 MBS ( "CNContactStore.GroupsByName"; "Zeitungen" )  
### See also

- [CNContactStore.GroupHierarchy](CNContactStoreGroupHierarchy.md)
- [CNContactStore.Groups](CNContactStoreGroups.md)

### Blog Entries

- [MBS FileMaker Plugin, version 8.4pr5](https://www.mbsplugins.de/archive/2018-08-27/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[CNContactStore.Groups](CNContactStoreGroups.md) - [CNContactStore.GroupsForContact](CNContactStoreGroupsForContact.md)

[HTML Version](CNContactStoreGroupsByName.shtml)