• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Account<a name="EN-US_TOPIC_0000001078092678"></a>
2
3## Introduction<a name="section11660541593"></a>
4
5In a standard system, the Account subsystem supports login status management of distributed cloud accounts, interconnection with vendors' cloud account apps on the device side, and query and update of the cloud account login status.
6
7## Architecture<a name="section1412183212132"></a>
8
9**Figure  1**  Account subsystem architecture<a name="fig4460722185514"></a>
10
11
12![](figures/en-us_image_0000001079026550.png)
13
14## Directory Structure<a name="section161941989596"></a>
15
16```
17/base/account
18└── os_account              # OS account module
19    ├── common              # Common basic code
20    ├── interfaces          # APIs exposed externally
21    ├── kits                # Development framework
22    ├── sa_profile          # SA profile
23    ├── services            # Service code
24    └── test                # Test code
25        └── resource        # Test resources
26```
27
28## Usage Guidelines<a name="section1312121216216"></a>
29
30Using the available classes for managing distributed accounts, you can query and update the account login status, including login, logout, unregistration, and token expiration.
31
32To query and update the login status of a distributed account, you must obtain the required system permission. These APIs are supported only by system apps.
33
34## Repositories Involved<a name="section1371113476307"></a>
35
36**Account subsystem**
37
38account\_os\_account
39
40