From Xojo Documentation
| This item was deprecated in version 2019r2.
| This method is only available on the macOS platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform.
Returns an array of all the groups as an AddressBookGroup.