CNContactStore.UnifiedMeContact
-------------------------------

Queries ID of the your contact.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Contacts](component_Contacts.md) | [8.4](newinversion84.md) | ✅ 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](CNContactJSON.md)"; MBS ( "CNContactStore.UnifiedMeContact" ))  
Get formatted and colored JSON:

 Set Variable \[ $json ; Value: MBS ( "[CNContact.JSON](CNContactJSON.md)"; MBS ( "CNContactStore.UnifiedMeContact" ) ) \]   
Set Variable \[ $json ; Value: MBS ("[JSON.Colorize](JSONColorize.md)"; MBS ( "[JSON.Format](JSONFormat.md)"; $json ) ) \]   
Set Field \[ Contacts::Result ; $json \]  
### See also

- [CNContact.JSON](CNContactJSON.md)
- [CNContact.Name](CNContactName.md)
- [CNContact.ShowInAddressbook](CNContactShowInAddressbook.md)
- [CNContact.Value](CNContactValue.md)
- [CNContactStore.ContainerForContact](CNContactStoreContainerForContact.md)
- [CNContactStore.DeleteContact](CNContactStoreDeleteContact.md)
- [CNContactStore.FetchContact](CNContactStoreFetchContact.md)
- [CNContactStore.GroupsForContact](CNContactStoreGroupsForContact.md)
- [CNContactStore.UpdateContact](CNContactStoreUpdateContact.md)
- [JSON.Colorize](JSONColorize.md)

### Release notes

- **Version 10.1**
    - Fixed [CNContactStore.Contacts](https://www.mbsplugins.eu/CNContactStoreContacts.shtml), [CNContactStore.UnifiedMeContact](https://www.mbsplugins.eu/CNContactStoreUnifiedMeContact.shtml), [CNContactStore.ContactsInGroup](https://www.mbsplugins.eu/CNContactStoreContactsInGroup.shtml), [CNContactStore.ContactsMatchingName](https://www.mbsplugins.eu/CNContactStoreContactsMatchingName.shtml) and others to work if your iOS application has not the entitlement to access notes in contacts.

### Example Databases

- [Mac and iOS/Contacts/Contacts Dialogs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Contacts/Contacts%20Dialogs.shtml#3ScriptAnchor_)
- [Mac and iOS/Contacts/Contacts](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Contacts/Contacts.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 10.1pr5](https://www.mbsplugins.de/archive/2020-02-24/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.1pr2](https://www.mbsplugins.de/archive/2020-02-03/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 1st August 2018 , last changed 27th January 2020

  
[CNContactStore.Subgroups](CNContactStoreSubgroups.md) - [CNContactStore.UpdateContact](CNContactStoreUpdateContact.md)

[HTML Version](CNContactStoreUnifiedMeContact.shtml)