DeviceAdminInfo.UsesPolicyExpirePassword 字段

定义

注意

This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.

此设备管理员可以使用的策略类型:强制用户在管理员定义的时间限制后更改其密码。

[Android.Runtime.Register("USES_POLICY_EXPIRE_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 UsesPolicyExpirePassword = 6;
[<Android.Runtime.Register("USES_POLICY_EXPIRE_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 UsesPolicyExpirePassword : Android.App.Admin.DeviceAdminUses

字段值

Value = 6

实现

属性

注解

此设备管理员可以使用的策略类型:强制用户在管理员定义的时间限制后更改其密码。

若要控制此策略,设备管理员必须是设备所有者或配置文件所有者,并且必须在其元数据的“uses-policies”部分中具有“expire-password”标记。 如果设备所有者使用,则策略仅影响主要用户及其配置文件,但不会影响设备上的任何辅助用户。

适用于 . 的 android.app.admin.DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于