Udostępnij za pośrednictwem


UserManager.DisallowUnifiedPassword Field

Definition

Specifies that the managed profile is not allowed to have unified lock screen challenge with the primary user.

[Android.Runtime.Register("DISALLOW_UNIFIED_PASSWORD", ApiSince=28)]
public const string DisallowUnifiedPassword;
[<Android.Runtime.Register("DISALLOW_UNIFIED_PASSWORD", ApiSince=28)>]
val mutable DisallowUnifiedPassword : string

Field Value

Attributes

Remarks

Specifies that the managed profile is not allowed to have unified lock screen challenge with the primary user.

<strong>Note:</strong> Setting this restriction alone doesn't automatically set a separate challenge. Profile owner can ask the user to set a new password using DevicePolicyManager#ACTION_SET_NEW_PASSWORD and verify it using DevicePolicyManager#isUsingUnifiedPassword(ComponentName).

Can be set by profile owners. It only has effect on managed profiles when set by managed profile owner. Has no effect on non-managed profiles or users.

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

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_UNIFIED_PASSWORD.

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