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.
Parameter | Description | Example |
---|---|---|
RecordID | The unique ID for the target person or group. | $personID |
Returns the unique ID for a record.
Create person and save changes:
$personID = MBS( "Addressbook.NewPerson" )
$r = MBS( "Addressbook.record.SetValueForProperty"; $personID; "FirstNameProperty"; "John" )
$r = MBS( "Addressbook.addRecord"; $personID )
$r = MBS( "Addressbook.save" )
# Learn real ID for new record
$personID = MBS( "Addressbook.record.UniqueID"; $personID )
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
Addressbook.record.SetValueForProperty - Addressbook.record.displayname