Platforms to show: All Mac Windows Linux Cross-Platform
ABGroupMBS class Deprecated
Super class: ABRecordMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use CNGroupMBS class instead.
ABGroup is a subclass of ABRecord.
It represents a group of people or other groups. No recursions allowed.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the ABRecordMBS class.
- property distributionIdentifierForProperty(propertyName as string, person as ABPersonMBS) as String
- 9 methods
- method addMember(group as ABPersonMBS) as boolean
- method addSubgroup(group as ABGroupMBS) as boolean
- method Constructor
- method Constructor(addressBook as ABAddressBookMBS)
- method members as ABPersonMBS()
- method parentGroups as ABGroupMBS()
- method removeMember(group as ABPersonMBS) as boolean
- method removeSubgroup(group as ABGroupMBS) as boolean
- method subgroups as ABGroupMBS()
- 6 shared methods
- shared method addProperty(propertyName as string, type as Integer) as Integer
- shared method properties as string()
- shared method removeProperties(properties() as string) as Integer
- shared method removeProperty(propertyName as string) as Integer
- shared method searchElementForProperty(PropertyName as string, Label as string, Key as string, value as Variant, comparison as Integer) as ABSearchElementMBS
- shared method typeOfProperty(propertyName as string) as Integer
Super class ABRecordMBS
This class has no sub classes.
Blog Entries
- Saying goodbye to AddressBook framework
- MBS Real Studio Plugins, version 12.4pr1
- Addressbook classes updated
Some methods using this class:
- ABAddressBookMBS.groupForName(name as string) as ABGroupMBS
- ABAddressBookMBS.groupForUniqueId(uniqueid as string) as ABGroupMBS
- ABAddressBookMBS.groups as ABGroupMBS()
- ABAddressBookMBS.groupsForAccount(account as ABAccountMBS) as ABGroupMBS()
- ABPeoplePickerViewMBS.deselectGroup(group as ABGroupMBS)
- ABPeoplePickerViewMBS.selectedGroups as ABGroupMBS()
- ABPeoplePickerViewMBS.selectGroup(group as ABGroupMBS, byExtendingSelection as boolean)
- ABPersonMBS.parentGroups as ABGroupMBS()
- ABPickerMBS.DeselectGroup(group as ABGroupMBS)
- ABPickerMBS.SelectGroup(group as ABGroupMBS, ExtendSelection as boolean)
Some examples using this class:
- /MacCocoa/Addressbook/Addressbook Notifications
- /MacCocoa/Addressbook/Group members
- /MacCocoa/Addressbook/GroupsForAccounts Test
- /MacControls/PeoplePickerView
- /MacFrameworks/Addressbook People Picker
Some related classes:
- class ABAccountMBS
- class ABAddressBookMBS
- class ABPeoplePickerViewMBS
- class ABPersonMBS
- class ABPickerMBS
- class ABRecordMBS
- class ABSearchElementMBS
- class CNGroupMBS
- class NSExceptionMBS
The items on this page are in the following plugins: MBS MacCocoa Plugin.
ABAddressBookMBS - ABMultiValueMBS