The members of Android.OS.UserManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | DisallowAddUser | string. Specifies if a user is disallowed from adding new users and profiles. |
const | DisallowAdjustVolume | string. Specifies if a user is disallowed from adjusting the master volume. |
const | DisallowAppsControl | string. Specifies if a user is disallowed from modifying applications in Settings or launchers. |
const | DisallowConfigBluetooth | string. Specifies if a user is disallowed from configuring bluetooth. |
const | DisallowConfigCellBroadcasts | string. Specifies if a user is disallowed from configuring cell broadcasts. |
const | DisallowConfigCredentials | string. Specifies if a user is disallowed from configuring user credentials. |
const | DisallowConfigMobileNetworks | string. Specifies if a user is disallowed from configuring mobile networks. |
const | DisallowConfigTethering | string. Specifies if a user is disallowed from configuring Tethering & portable hotspots. |
const | DisallowConfigVpn | string. Specifies if a user is disallowed from configuring VPN. |
const | DisallowConfigWifi | string. Specifies if a user is disallowed from changing Wi-Fi access points. |
const | DisallowCreateWindows | string. Specifies that windows besides app windows should not be created. |
const | DisallowCrossProfileCopyPaste | string. Specifies if what is copied in the clipboard of this profile can be pasted in related profiles. |
const | DisallowDebuggingFeatures | string. Specifies if a user is disallowed from enabling or accessing debugging features. |
const | DisallowFactoryReset | string. Specifies if a user is disallowed from factory resetting from Settings. |
const | DisallowInstallApps | string. Specifies if a user is disallowed from installing applications. |
const | DisallowInstallUnknownSources | string. Specifies if a user is disallowed from enabling the "Unknown Sources" setting, that allows installation of apps from unknown sources. |
const | DisallowModifyAccounts | string. Specifies if a user is disallowed from adding and removing accounts. |
const | DisallowMountPhysicalMedia | string. Specifies if a user is disallowed from mounting physical external media. |
const | DisallowOutgoingCalls | string. Specifies that the user is not allowed to make outgoing phone calls. |
const | DisallowRemoveUser | string. Specifies if a user is disallowed from removing itself and other users. |
const | DisallowShareLocation | string. Specifies if a user is disallowed from toggling location sharing. |
const | DisallowSms | string. Specifies that the user is not allowed to send or receive SMS messages. |
const | DisallowUninstallApps | string. Specifies if a user is disallowed from uninstalling applications. |
const | DisallowUnmuteMicrophone | string. Specifies if a user is disallowed from adjusting microphone volume. |
const | DisallowUsbFileTransfer | string. Specifies if a user is disallowed from transferring files over USB. |
const | EnsureVerifyApps | string. Specifies if a user is disallowed from disabling application verification. |
[read-only] | IsUserAGoat | bool. Used to determine whether the user making this call is subject to teleportations. |
[read-only] | UserCount | int. Return the number of users currently created on the device. |
[read-only] | UserName | string. Returns the user name of the user making this call. |
[read-only] | UserProfiles | IList<UserHandle>. Returns a list of UserHandles for profiles associated with the user that the calling process is running on, including the user itself. |
UserRestrictions | Bundle. Returns the user-wide restrictions imposed on this user. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
GetApplicationRestrictions(string)Returns a Bundle containing any saved application restrictions for this user, for the given package name. | ||
GetSerialNumberForUser(UserHandle)Return the serial number for a user. | ||
GetUserForSerialNumber(long)Return the user associated with a serial number previously returned by UserManager.GetSerialNumberForUser(UserHandle). | ||
GetUserRestrictions(UserHandle)Returns the user-wide restrictions imposed on the user specified by userHandle. | ||
HasUserRestriction(string)Returns whether the current user has been disallowed from performing certain actions or setting certain settings. | ||
IsUserRunning(UserHandle)Return whether the given user is actively running. | ||
IsUserRunningOrStopping(UserHandle)Return whether the given user is actively running or stopping. | ||
SetRestrictionsChallenge(string)Sets a new challenge PIN for restrictions. | ||
SetUserRestriction(string, bool)Sets the value of a specific restriction. | ||
SetUserRestrictions(Bundle, UserHandle)Sets all the user-wide restrictions for the specified user. |