net10.0-android36.0
namespace Android.OS
{
    [Register("android/os/UserManager", DoNotGenerateAcw = true)]
    public class UserManager : Object
    {
        [Register("hasUserRestriction", "(Ljava/lang/String;)Z", "GetHasUserRestriction_Ljava_lang_String_Handler")]
        public virtual bool HasUserRestriction([StringDef(Fields = new[] { "AllowParentProfileAppLinking", "DisallowAddManagedProfile", "DisallowAddPrivateProfile", "DisallowAddUser", "DisallowAddWifiConfig", "DisallowAdjustVolume", "DisallowAirplaneMode", "DisallowAmbientDisplay", "DisallowAppsControl", "DisallowAssistContent", "DisallowAutofill", "DisallowBluetooth", "DisallowBluetoothSharing", "DisallowCameraToggle", "DisallowCellular2g", "DisallowChangeNearFieldCommunicationRadio", "DisallowChangeWifiState", "DisallowConfigBluetooth", "DisallowConfigBrightness", "DisallowConfigCellBroadcasts", "DisallowConfigCredentials", "DisallowConfigDateTime", "DisallowConfigDefaultApps", "DisallowConfigLocale", "DisallowConfigLocation", "DisallowConfigMobileNetworks", "DisallowConfigPrivateDns", "DisallowConfigScreenTimeout", "DisallowConfigTethering", "DisallowConfigVpn", "DisallowConfigWifi", "DisallowContentCapture", "DisallowContentSuggestions", "DisallowCreateWindows", "DisallowCrossProfileCopyPaste", "DisallowDataRoaming", "DisallowDebuggingFeatures", "DisallowFactoryReset", "DisallowFun", "DisallowGrantAdmin", "DisallowInstallApps", "DisallowInstallUnknownSources", "DisallowInstallUnknownSourcesGlobally", "DisallowMicrophoneToggle", "DisallowModifyAccounts", "DisallowMountPhysicalMedia", "DisallowNearFieldCommunicationRadio", "DisallowNetworkReset", "DisallowOutgoingBeam", "DisallowOutgoingCalls", "DisallowPrinting", "DisallowRemoveManagedProfile", "DisallowRemoveUser", "DisallowSafeBoot", "DisallowSetUserIcon", "DisallowSetWallpaper", "DisallowShareIntoManagedProfile", "DisallowShareLocation", "DisallowSharingAdminConfiguredWifi", "DisallowSimGlobally", "DisallowSms", "DisallowSystemErrorDialogs", "DisallowThreadNetwork", "DisallowUltraWidebandRadio", "DisallowUnifiedPassword", "DisallowUninstallApps", "DisallowUnmuteMicrophone", "DisallowUsbFileTransfer", "DisallowUserSwitch", "DisallowWifiDirect", "DisallowWifiTethering", "EnsureVerifyApps", "KeyRestrictionsPending" }, Type = "Android.OS.UserManager")] string? restrictionKey);
    }
}
.NET
6.07.08.09.010.0
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
Android
21.022.023.024.025.026.027.028.029.030.031.032.033.034.035.036.0
Information specific to net10.0-android36.0
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Android >= 21
  • Built-in API
  • Package-provided API