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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Addressbook.persistentAccounts

Queries list of account identifies for persistent accounts.

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

MBS( "Addressbook.persistentAccounts" )

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


Addressbook.people   -   Addressbook.person.EditInAddressbook

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins