PasswordPolicyScope
Stay organized with collections
Save and categorize content based on your preferences.
Scope that the password requirement applies to.
Enums |
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. |
SCOPE_DEVICE |
The password requirements are only applied to the device. |
SCOPE_PROFILE |
The password requirements are only applied to the work profile. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 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. |"]]