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.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

Addressbook.persistentAccounts

Queries list of account identifies for persistent accounts.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Addressbook 6.2 Yes No No No No

Deprecated

This function was deprecated. Use Contacts functions instead.

MBS( "Addressbook.persistentAccounts" )   More

Parameters

none

Result

Returns list or error.

Description

Queries list of account identifies for persistent accounts.

Examples

Show persistent accounts:

Set Variable [$accounts; Value:MBS( "Addressbook.persistentAccounts" )]
Set Variable [$count; Value:ValueCount($accounts)]
Set Variable [$index; Value:1]
Loop
    Set Variable [$account; Value:GetValue($accounts; $index)]
    Show Custom Dialog ["Identifier: " & $account & ¶ &
"Name: " & MBS( "Addressbook.Account.Name"; $account) & ¶ &
"Type: " & MBS( "Addressbook.Account.Type"; $account) & ¶ &
"Main: " & MBS( "Addressbook.Account.isMainAccount"; $account) & ¶ &
"URL: " & MBS( "Addressbook.Account.URL"; $account)]
    Set Variable [$index; Value:$index +1]
    Exit Loop If [$index > $count]
End Loop

See also

Created 17th March 2016, last changed 8th June 2017


Addressbook.people   -   Addressbook.person.EditInAddressbook

Feedback: Report problem or ask question.




Links
MBS FileMaker blog

Start Chat