Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Addressbook.group.addMember

Adds a person to a group.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 3.1 Yes No Yes, macOS only No Yes

MBS( "Addressbook.group.addMember"; GroupID; PersonID )

Parameters

Parameter Description Example value
GroupID The unique ID for the target group. $groupID
PersonID The unique ID for the person to be added to the group. $personID

Result

Returns OK on success and false on failure.

Description

Adds a person to a group.
If the person argument is already part of the group, this method does nothing and returns OK.
Prior to OS X v10.6, if the person record is already in the group, this method does nothing and returns failure.

See also


Addressbook.formattedAddress   -   Addressbook.group.addSubgroup

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins