自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
管理使用者和帳戶
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用者管理涉及使用者、帳戶和應用程式資料。
- User. 每個使用者身分,都是由獨立的自然人使用。每位使用者都有不同的應用程式資料、帳戶和一些獨特的設定,以及可明確切換使用者之間的使用者介面。詳情請參閱「多用戶支援」。
- 帳戶。帳戶包含在使用者中,但並非由使用者定義,使用者也不是由任何特定帳戶定義或連結。使用者可擁有自己的獨特帳戶,但不一定要有帳戶才能運作。詳情請參閱「Account 類別」定義。
- 應用程式資料。存在於每位使用者中,並與同一位使用者中的其他應用程式隔離。同一位使用者內的應用程式可以透過 IPC 彼此互動。
注意:Automotive 不支援 Automotive 專用版本的 Android 裝置管理 (Android for Enterprise) 或設定檔 (受管理或受限制)。
管理使用者和帳戶:使用者介面
Android Automotive OS 提供參考使用者體驗和介面,方便管理使用者和帳戶。
- CarSettings. Car Settings 應用程式包含用於管理使用者和帳戶的 UI。這包括一個使用者介面,可讓管理員使用者調整其他非管理員使用者的角色和限制。
- 快速設定:「快速設定」(位於「車輛設定」應用程式中) 包含可輕鬆切換使用者的 UI。
- 使用者挑選器:裝置開機時,系統 UI 會提供使用者挑選畫面,讓使用者切換現有使用者或建立新使用者。
管理使用者:角色和限制
日後推出的版本將支援透過使用者角色套用的預設限制,讓您更輕鬆地自訂這些限制。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Manage users and accounts\n\nUser management involves users, accounts, and app data.\n\n- **User.** Each user is intended to be used by a different physical person. Each user has distinct app data, accounts, and some unique settings, as well as a user interface to explicitly switch between users. For more information, see [Multi-user support](/docs/automotive/users_accounts/multi_user).\n- **Account.** Accounts are contained within a user but aren't defined by a user, nor is a user defined by or linked to any given account. Users contain their own unique accounts but aren't required to have accounts to be functional. For details, see the [Account\n class](https://developer.android.com/reference/android/accounts/Account.html) definition.\n- **App data.** Exists within each user and is sandboxed from other apps within the same user. Apps within the same user can interact with each other through IPC.\n\n**Note:** Automotive doesn't support either an\nAutomotive-specific version of Android device administration (Android for Enterprise)\nor profiles (managed or restricted).\n\n### Manage users and accounts: User interface\n\nAndroid Automotive OS provides a reference user experience and interface\nfor managing users and accounts.\n\n- **CarSettings.** The Car Settings app contains the UI for managing users and accounts. This includes a UI through which admin users can adjust the roles and restrictions of other non-admin users.\n- **Quick Settings.** Quick Settings (within the Car Settings app) contains a UI for easy access to switch users.\n- **User Picker.** Upon a device boot, the system UI provides a User Picker screen for a person to switch between existing and to create new users.\n\n**Manage users: Roles and restrictions**\n----------------------------------------\n\nFuture releases will support a more streamlined customization of the default\nrestrictions applied through the user role."]]