Addressbook.searchGroupsWithName
--------------------------------

Searches groups matching the group name.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Addressbook](component_Addressbook.md) | [3.3](newinversion33.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md). Use [Contacts](component_Contacts.md) functions instead.

MBS( "Addressbook.searchGroupsWithName"; GroupName ) 

**MBS**( **"Addressbook.searchGroupsWithName";** /\* Searches groups matching the group name. \*/  
**$GroupName**) /\* The group name or search for.e.g. "Friends" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| GroupName | The group name or search for. | "Friends" |

### Result

Returns list of all group IDs.

### Description

Searches groups matching the group name.  
This search is case insensitive.  
### Examples

Search for group named Friends:

 MBS ( "Addressbook.searchGroupsWithName"; "Friends" )  
### See also

- [Addressbook.searchPeopleWithEmail](AddressbooksearchPeopleWithEmail.md)
- [Addressbook.searchPeopleWithName](AddressbooksearchPeopleWithName.md)

### Blog Entries

- [MBS Filemaker Plugin, version 3.4pr4](https://www.mbsplugins.de/archive/2013-09-16/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.3pr3](https://www.mbsplugins.de/archive/2013-06-02/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 8th September 2015

  
[Addressbook.searchElementForProperty](AddressbooksearchElementForProperty.md) - [Addressbook.searchPeopleWithCreationDate](AddressbooksearchPeopleWithCreationDate.md)

[HTML Version](AddressbooksearchGroupsWithName.shtml)