Language

ResetPasswordFlags Enum

Definition

Enumerates values returned by the ResetPasswordRequireEntry, and RequireEntry members and taken as a parameter of the F:Android.App.Admin.DevicePolicyManager.ResetPassword member.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ResetPasswordFlags
[<System.Flags>]
type ResetPasswordFlags = 
Inheritance
ResetPasswordFlags
Attributes

Fields

Name Value Description
RequireEntry 1

Flag for resetPasswordWithToken(ComponentName, String, byte[], int) and resetPassword(String, int): don't allow other admins to change the password again until the user has entered it.

Android reference for android.app.admin.DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY.

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.

DoNotAskCredentialsOnBoot 2

Flag for resetPasswordWithToken(ComponentName, String, byte[], int) and resetPassword(String, int): 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.

Android reference 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.

Remarks

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