Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Addressbook.groups
Returns an array of all the groups in the Address Book database.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Addressbook | 3.1 | Yes | No | No | No | Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Account | The account identifier to limit search for. | _local | Optional |
Result
Returns list of group IDs.
Description
Returns an array of all the groups in the Address Book database.If the database doesn't contain any groups, this method returns an empty array.
You can use Addressbook.record.displayname to find the display name of a group. Or you query the group name property with Addressbook.record.valueForProperty.
Examples
Query list of group IDs:
MBS( "Addressbook.groups" )
Query display name of first group:
MBS( "Addressbook.record.displayname"; ElementLeft ( MBS( "Addressbook.groups" ) ; 1 ))
See also
- Addressbook.NewGroup
- Addressbook.people
- Addressbook.record.displayname
- Addressbook.record.valueForProperty
Blog Entries
Created 18th August 2014, last changed 24th May 2016
Addressbook.group.subgroups - Addressbook.hasUnsavedChanges
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins