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


Returns the unique ID for a record.

Component Version macOS Windows Linux Server iOS SDK
Addressbook 3.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes


This function was deprecated. Use Contacts functions instead.

MBS( "Addressbook.record.UniqueID"; RecordID )   More


Parameter Description Example
RecordID The unique ID for the target person or group. $personID


Returns the unique ID for a record.


Returns the unique ID for a record.
Use this method to query the record ID for a new person or group after you saved it.


Create person and save changes:

$personID = MBS( "Addressbook.NewPerson" )
$r = MBS( "Addressbook.record.SetValueForProperty"; $personID; "FirstNameProperty"; "John" )
$r = MBS( "Addressbook.addRecord"; $personID )
$r = MBS( "" )
# Learn real ID for new record
$personID = MBS( "Addressbook.record.UniqueID"; $personID )

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

Addressbook.record.SetValueForProperty - Addressbook.record.displayname