PasswordPolicyScope
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ขอบเขตที่บังคับใช้ข้อกําหนดรหัสผ่าน
Enum |
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. |"]]