Dela via


UserManager.IsManagedProfile Property

Definition

Checks if the context user is a managed profile.

public virtual bool IsManagedProfile { [Android.Runtime.Register("isManagedProfile", "()Z", "GetIsManagedProfileHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isManagedProfile", "()Z", "GetIsManagedProfileHandler", ApiSince=30)>]
member this.IsManagedProfile : bool

Property Value

whether the context user is a managed profile.

Attributes

Remarks

Checks if the context user is a managed profile.

Note that this applies specifically to <em>managed</em> profiles. For profiles in general, use #isProfile() instead.

Java documentation for android.os.UserManager.isManagedProfile().

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