UserManager.DisallowAutofill Field

Definition

Specifies if a user is not allowed to use Autofill Services.

[Android.Runtime.Register("DISALLOW_AUTOFILL", ApiSince=26)]
public const string DisallowAutofill;
[<Android.Runtime.Register("DISALLOW_AUTOFILL", ApiSince=26)>]
val mutable DisallowAutofill : string

Field Value

Attributes

Remarks

Specifies if a user is not allowed to use Autofill Services.

Device owner and profile owner can set this restriction. When it is set by device owner, only the target user will be affected.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_AUTOFILL can set this restriction using the DevicePolicyManager APIs mentioned below.

The default value is false.

Java documentation for android.os.UserManager.DISALLOW_AUTOFILL.

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