Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Adds a new group.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Name | The new group name. | "Test" | |
ContainerIdentifier | The identifier for the container. | "9892A5CC-964E-497A-B877-A47619F7493C:ABAccount" | Optional |
Returns OK or error.
Create a group:
Set Variable [ $r ; Value: MBS( "CNContactStore.AddGroup"; "Test Group") ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Failed to create a group" ; $r ]
Else
Set Field [ Contacts::GroupID ; $r ]
End If
This function checks for a license.
Created 1st August 2018, last changed 6th August 2018