Language

DevicePolicyManager.PolicyScopeParentUser Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerScope enum directly instead of this field.

Flag used by #setPolicy to apply the policy to the parent user of the current user.

[Android.Runtime.Register("POLICY_SCOPE_PARENT_USER", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerScope enum directly instead of this field.", true)]
public const Android.App.Admin.DevicePolicyManagerScope PolicyScopeParentUser = 3;
[<Android.Runtime.Register("POLICY_SCOPE_PARENT_USER", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerScope enum directly instead of this field.", true)>]
val mutable PolicyScopeParentUser : Android.App.Admin.DevicePolicyManagerScope

Field Value

Value = 3
Attributes

Remarks

Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the parent user of the current user.

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

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