Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

Created 18th August 2014, last changed 17th March 2016


Addressbook.multivalue.values - Addressbook.persistentAccounts

Feedback: Report problem or ask question.