Handle account records that are associated with specific users.
An account is associated with a particular provider, such as an enterprise provider or social provider. Each account contains a set of supported services, such as contacts, geolocations, and so on. You can use these classes to retrieve information about an account and its provider and services.
Libraries and permissions
To link against these classes, add the following line to your .pro file:
LIBS += -lbbpim
Read access to the Account's domain is automatically granted when requesting permission to another domain. For example:
access_pimdomain_messages or access_pimdomain_contacts access_pimdomain_calendars access_pimdomain_notebooks
Any Accounts calls requiring write access (to edit, add or delete an account) are not granted to party applications and will result in failure.
To download a code sample that demonstrates how to use accounts, visit the Cascades Samples repository in Github.
- Account -
- AccountsChanged -
The AccountsChanged class provides the necessary information to the client regarding changes that have taken place on Account objects stored on the device.
- AccountService -
The AccountService class is the entry point for Account Management.
- Property -
The Property class provides the possible values that can be used to describe individual data elements found within Account and Provider objects.
- Provider -
- Result -
This class is used to return the outcome of an operation requested from AccountService.
- Service -
The Service class provides the possible values that can be used as a parameter to an assortment of functions in the AccountService, Account, and Provider classes.