> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
```
import account_appAccount from '@ohos.account.appAccount';
Adds an application account and its additional information to the account management service. This method uses an asynchronous callback to return the result.
| name | string | Yes| Name of the application account to add.|
| extraInfo | string | Yes| Additional information (for example, token) of the application account to add. The additional information cannot contain sensitive information about the application account.|
| callback | AsyncCallback<void> | Yes| Callback invoked when the application account and its additional information are added.|
Adds an application account and its additional information to the account management service. This method uses a promise to return the result asynchronously.
| name | string | Yes| Name of the application account to add.|
| extraInfo | string | Yes| Additional information of the application account to add. The additional information cannot contain sensitive information about the application account.|
Disables the specified third-party application account from accessing the third-party application with the given bundle name. This method uses an asynchronous callback to return the result.
| name | string | Yes| Name of the third-party application account.|
| bundleName | string | Yes| Bundle name of the third-party application.|
| callback | AsyncCallback<void> | Yes| Callback invoked when the third-party application account is disabled from accessing the third-party application with the given bundle name.|
Disables the specified third-party application account from accessing the third-party application with the given bundle name. This method uses a promise to return the result asynchronously.
Enables the specified third-party application account to access the third-party application with the given bundle name. This method uses an asynchronous callback to return the result.
| bundleName | string | Yes| Bundle name of the third-party application.|
| callback | AsyncCallback<void> | Yes| Callback invoked when the third-party application account is enabled to access the third-party application with the given bundle name.|
Enables the specified third-party application account to access the third-party application with the given bundle name. This method uses a promise to return the result.
Checks whether the specified application account allows application data synchronization. This method uses an asynchronous callback to return the result.
The **ohos.permission.DISTRIBUTED_DATASYNC** permission is required. This permission is intended for system applications only.
Checks whether the specified application account allows application data synchronization. This method uses a promise to return the result asynchronously.
The **ohos.permission.DISTRIBUTED_DATASYNC** permission is required. This permission is intended for system applications only.
| isEnable | boolean | Yes| Specifies whether to enable application data synchronization.|
| callback | AsyncCallback<void> | Yes| Callback invoked when application data synchronization is enabled or disabled for the application account.|
| owner | string | Yes| Owner of a system application account or third-party application account.|
| callback | AsyncCallback<Array<AppAccountInfo>> | Yes| Callback invoked to return information about all accounts of the specified account owner.|