Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactStore.AddMember

Add a new member to a group.

Component Version macOS Windows Linux Server iOS SDK
Contacts 8.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactStore.AddMember"; GroupIdentifier; ContactIdentifier )   More

Parameters

Parameter Description Example
GroupIdentifier The group to add the member to.
Can be identifier or group name.
"F527BF7C-6426-4D48-86CA-CB5E57743FFE:ABGroup"
ContactIdentifier The new member to add to the group. "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E"

Result

Returns OK or error.

Description

Add a new member to a group.

See also

This function checks for a license.

Created 1st August 2018, last changed 30th August 2018


CNContactStore.AddGroup - CNContactStore.AddSubgroup