PasswordPolicyScope
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
列挙型 |
SCOPE_UNSPECIFIED |
スコープが指定されていません。パスワードの要件は、仕事用プロファイル デバイスの仕事用プロファイルと、完全管理対象デバイスまたは専用デバイスのデバイス全体に適用されます。 |
SCOPE_DEVICE |
パスワード要件はデバイスにのみ適用されます。 |
SCOPE_PROFILE |
パスワードの要件は仕事用プロファイルにのみ適用されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003ePassword requirements can be applied to the entire device, solely to the work profile, or be left unspecified, defaulting to the work profile for work profile devices and the whole device for fully managed or dedicated devices.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSCOPE_DEVICE\u003c/code\u003e enum enforces password requirements exclusively on the device.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSCOPE_PROFILE\u003c/code\u003e enum enforces password requirements exclusively on the work profile.\u003c/p\u003e\n"]]],["Password requirements can be applied to different scopes: `SCOPE_UNSPECIFIED`, `SCOPE_DEVICE`, and `SCOPE_PROFILE`. `SCOPE_UNSPECIFIED` applies requirements to the work profile on work profile devices and to the entire device on fully managed or dedicated devices. `SCOPE_DEVICE` limits requirements to the device itself, while `SCOPE_PROFILE` restricts them to the work profile. The table provides definitions for each scope enum.\n"],null,["Scope that the password requirement applies to.\n\n| Enums ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `SCOPE_UNSPECIFIED` | The scope is unspecified. The password requirements are applied to the work profile for work profile devices and the whole device for fully managed or dedicated devices. |\n| `SCOPE_DEVICE` | The password requirements are only applied to the device. |\n| `SCOPE_PROFILE` | The password requirements are only applied to the work profile. |"]]