UserManager.DisallowRemoveManagedProfile Field

Definition

Specifies if managed profiles of this user can be removed, other than by its profile owner.

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

Field Value

Attributes

Remarks

Specifies if managed profiles of this user can be removed, other than by its profile owner. The default value is false.

This restriction has no effect on managed profiles.

Key for user restrictions.

Type: Boolean

This member is deprecated. As the ability to have a managed profile on a fully-managed device has been removed from the platform, this restriction will be silently ignored when applied by the device owner. When the device is provisioned with a managed profile on an organization-owned device, the managed profile could not be removed anyway.

Java documentation for android.os.UserManager.DISALLOW_REMOVE_MANAGED_PROFILE.

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