DevicePolicyManager.IsManagedProfile(ComponentName) Method
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.
Return if this user is a managed profile of another user.
[Android.Runtime.Register("isManagedProfile", "(Landroid/content/ComponentName;)Z", "GetIsManagedProfile_Landroid_content_ComponentName_Handler", ApiSince=24)]
public virtual bool IsManagedProfile (Android.Content.ComponentName admin);
[<Android.Runtime.Register("isManagedProfile", "(Landroid/content/ComponentName;)Z", "GetIsManagedProfile_Landroid_content_ComponentName_Handler", ApiSince=24)>]
abstract member IsManagedProfile : Android.Content.ComponentName -> bool
override this.IsManagedProfile : Android.Content.ComponentName -> bool
Parameters
- admin
- ComponentName
Which profile owner this request is associated with.
Returns
if this user is a managed profile of another user.
- Attributes
Remarks
Return if this user is a managed profile of another user. An admin can become the profile owner of a managed profile with #ACTION_PROVISION_MANAGED_PROFILE
and of a managed user with #createAndManageUser
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.