Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.people
Returns an array of all the people in the Address Book database.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.people" { ; Account } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Account | The account identifier to limit search for. | _local | Optional |
Result
Returns list of all person IDs.
Description
Returns an array of all the people in the Address Book database.If the database doesn't contain any people, this method returns an empty array.
Examples
Get list of people IDs and show name of first person:
Set Variable [$people; Value:MBS( "Addressbook.people" )]
Set Variable [$firstPerson; Value:GetValue($people; 1)]
Show Custom Dialog ["Name of first person"; MBS( "Addressbook.record.displayname"; $firstPerson )]
See also
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 17th March 2016
Addressbook.multivalue.values - Addressbook.persistentAccounts