Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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