PasswordPolicyScope
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
SCOPE_UNSPECIFIED |
未指定范围。密码要求适用于工作资料设备的工作资料,以及适用于完全受管设备或专用设备的整个设备。 |
SCOPE_DEVICE |
密码要求仅适用于设备。 |
SCOPE_PROFILE |
密码要求仅适用于工作资料。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]