Share via


DevicePolicyManager.IsUsingUnifiedPassword(ComponentName) Method

Definition

When called by a profile owner of a managed profile returns true if the profile uses unified challenge with its parent user.

[Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)]
public virtual bool IsUsingUnifiedPassword (Android.Content.ComponentName admin);
[<Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)>]
abstract member IsUsingUnifiedPassword : Android.Content.ComponentName -> bool
override this.IsUsingUnifiedPassword : Android.Content.ComponentName -> bool

Parameters

admin
ComponentName

Which DeviceAdminReceiver this request is associated with.

Returns

Attributes

Remarks

When called by a profile owner of a managed profile returns true if the profile uses unified challenge with its parent user.

<strong>Note</strong>: This method is not concerned with password quality and will return false if the profile has empty password as a separate challenge.

Java documentation for android.app.admin.DevicePolicyManager.isUsingUnifiedPassword(android.content.ComponentName).

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