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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Addressbook.defaultAccount

Queries default account identifier.

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

Deprecated

This function was deprecated. Use Contacts functions instead.

MBS( "Addressbook.defaultAccount" )

Parameters

none

Result

Returns identifier or error.

Description

Queries default account identifier.

Examples

Show all accounts:

Set Variable [$account; Value:MBS( "Addressbook.defaultAccount" )]
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)]

See also

Created 17th March 2016, last changed 17th March 2016


Addressbook.allAccounts - Addressbook.enabledAccounts

Feedback: Report problem or ask question.