From Xojo Documentation
| This method is only available on the macOS platform.
For cross-platform development, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform.
Adds the record or group to the Address Book.
If Record is a group, it adds it as a subgroup. If it is a contact, it adds it as a member of the group.