Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CNContactStore.UnifiedMeContact
Queries ID of the your contact.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "CNContactStore.UnifiedMeContact" )
Parameters
none
Result
Returns contact identifier or error.
Description
Queries ID of the your contact.This will use unified contacts, so data is merged from several sources.
Examples
Get yourself as JSON:
MBS( "CNContact.JSON"; MBS( "CNContactStore.UnifiedMeContact" ))
Get formatted and colored JSON:
Set Variable [ $json ; Value: MBS( "CNContact.JSON"; MBS( "CNContactStore.UnifiedMeContact" ) ) ]
Set Variable [ $json ; Value: MBS("JSON.Colorize"; MBS( "JSON.Format"; $json) ) ]
Set Field [ Contacts::Result ; $json ]
See also
- CNContact.JSON
- CNContact.Name
- CNContact.ShowInAddressbook
- CNContact.Value
- CNContactStore.ContainerForContact
- CNContactStore.DeleteContact
- CNContactStore.FetchContact
- CNContactStore.GroupsForContact
- CNContactStore.UpdateContact
- JSON.Colorize
Release notes
- Version 10.1
- Fixed CNContactStore.Contacts, CNContactStore.UnifiedMeContact, CNContactStore.ContactsInGroup, CNContactStore.ContactsMatchingName and others to work if your iOS application has not the entitlement to access notes in contacts.
Example Databases
Blog Entries
This function checks for a license.
Created 1st August 2018, last changed 27th January 2020