Returns an array of all the groups in the Address Book database.
- macOS 10.2+
The address book for the logged-in user.
An array of ABGroup objects representing all the groups in the Address Book database. If the database doesn’t contain any groups, the function returns an empty array. You are responsible for releasing this object.