Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Addressbook.people

Returns an array of all the people in the Address Book database.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 3.1 Yes No Yes, macOS only No Yes

MBS( "Addressbook.people" { ; Account } )

Parameters

Parameter Description Example value
Account Optional
The account identifier to limit search for.
_local

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


Addressbook.multivalue.values   -   Addressbook.persistentAccounts

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins