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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Adds a person to a group.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
This function was deprecated. Use Contacts functions instead.
Parameter | Description | Example |
---|---|---|
GroupID | The unique ID for the target group. | $groupID |
PersonID | The unique ID for the person to be added to the group. | $personID |
Returns 1 for success or 0 for failure on Mac. Returns OK on success and error on failure on iOS.
Add person to group:
# add to group
Set Variable [ $r ; Value: MBS( "Addressbook.group.addMember"; "Best Friends"; $PersonID ) ]
# save changes
Set Variable [ $r ; Value: MBS( "Addressbook.save"; $personID ) ]
This function checks for a license.
Created 18th August 2014, last changed 6th November 2017
Addressbook.formattedAddress - Addressbook.group.addSubgroup