UserManager.DisallowUnifiedPassword Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
To ensure that there is a separate work profile password, IT admins have to: <ol> <li>Enforce UserManager#DISALLOW_UNIFIED_PASSWORD
</li> <li>Verify that DevicePolicyManager#isUsingUnifiedPassword(ComponentName)
returns true. This indicates that there is now a separate work profile password configured and the set up is completed.</li> <li>In case DevicePolicyManager#isUsingUnifiedPassword(ComponentName)
returns false, invoke DevicePolicyManager#ACTION_SET_NEW_PASSWORD
intent and then verify again DevicePolicyManager#isUsingUnifiedPassword(ComponentName)
.</li> </ol>
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.