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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function is free to use.

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


Addressbook.allAccounts - Addressbook.enabledAccounts

💬 Ask a question or report a problem