DeviceAdminInfo.UsesPolicyLimitPassword 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.
此设备管理员可以使用的策略类型:限制用户可以选择的密码,通过 DevicePolicyManager#setPasswordQuality 和 DevicePolicyManager#setPasswordMinimumLength。
[Android.Runtime.Register("USES_POLICY_LIMIT_PASSWORD")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.", true)]
public const Android.App.Admin.DeviceAdminUses UsesPolicyLimitPassword = 0;
[<Android.Runtime.Register("USES_POLICY_LIMIT_PASSWORD")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.", true)>]
val mutable UsesPolicyLimitPassword : Android.App.Admin.DeviceAdminUses
字段值
Value = 0实现
- 特性
注解
此设备管理员可以使用的策略类型:限制用户可以选择的密码,通过 DevicePolicyManager#setPasswordQuality 和 DevicePolicyManager#setPasswordMinimumLength。
若要控制此策略,设备管理员必须是设备所有者或配置文件所有者,并且必须在其元数据的“uses-policies”部分中具有“limit-password”标记。 如果设备所有者使用,则策略仅影响主要用户及其配置文件,但不会影响设备上的任何辅助用户。
Java文档android.app.admin.DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。