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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries group hierarchy as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
none
Returns JSON or error.
Query group hierarchie:
MBS("CNContactStore.GroupHierarchy")
Example result:
{
"62D07651-4F83-47D0-99F8-A72EAECBD8B7:ABGroup" : {
"subgroups" : [
"A0A7844B-1E8E-4ECF-8B81-273CB06B282D:ABGroup"
],
"contacts" : [
"4A2B7E15-BF77-416F-824E-0360FC4B196B:ABPerson",
"A0C31D4D-E573-432B-A8E4-016919E46A3A:ABPerson",
"1DC6166E-131E-449B-8BBC-DA689316D02A:ABPerson"
],
"identifier" : "62D07651-4F83-47D0-99F8-A72EAECBD8B7:ABGroup",
"name" : "Big Group"
},
"A0A7844B-1E8E-4ECF-8B81-273CB06B282D:ABGroup" : {
"parent" : "62D07651-4F83-47D0-99F8-A72EAECBD8B7:ABGroup",
"subgroups" : [
],
"contacts" : [
"4A2B7E15-BF77-416F-824E-0360FC4B196B:ABPerson",
"3495273B-715E-4258-9946-B0FC487211C5:ABPerson",
"773E1A42-ABCD-4CCF-88DE-E9C64BEE6D33:ABPerson",
"05DC9067-7FEE-4146-8CD9-6F88E7053307:ABPerson"
],
"identifier" : "A0A7844B-1E8E-4ECF-8B81-273CB06B282D:ABGroup",
"name" : "Test Group"
}
}
This function checks for a license.
Created 26th September 2018, last changed 26th September 2018