Udostępnij za pośrednictwem


DevicePolicyManager.ResetPasswordDoNotAskCredentialsOnBoot Field

Definition

Caution

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

Flag for #resetPasswordWithToken and #resetPassword: don't ask for user credentials on device boot.

[Android.Runtime.Register("RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.ResetPasswordFlags enum directly instead of this field.", true)]
public const Android.App.Admin.ResetPasswordFlags ResetPasswordDoNotAskCredentialsOnBoot = 2;
[<Android.Runtime.Register("RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.ResetPasswordFlags enum directly instead of this field.", true)>]
val mutable ResetPasswordDoNotAskCredentialsOnBoot : Android.App.Admin.ResetPasswordFlags

Field Value

Value = 2
Attributes

Remarks

Flag for #resetPasswordWithToken and #resetPassword: don't ask for user credentials on device boot. If the flag is set, the device can be booted without asking for user password. The absence of this flag does not change the current boot requirements. This flag can be set by the device owner only. If the app is not the device owner, the flag is ignored. Once the flag is set, it cannot be reverted back without resetting the device to factory defaults.

Java documentation for android.app.admin.DevicePolicyManager.RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to