Android.OS.UserManager: Method Members

The methods of Android.OS.UserManager are listed below. For a list of all members, see the UserManager Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

GetApplicationRestrictions(string) : Bundle
Returns a Bundle containing any saved application restrictions for this user, for the given package name.
GetSerialNumberForUser(UserHandle) : long
Return the serial number for a user.
GetUserForSerialNumber(long) : UserHandle
Return the user associated with a serial number previously returned by UserManager.GetSerialNumberForUser(UserHandle).
GetUserRestrictions(UserHandle) : Bundle
Returns the user-wide restrictions imposed on the user specified by userHandle.
HasUserRestriction(string) : bool
Returns whether the current user has been disallowed from performing certain actions or setting certain settings.
IsUserRunning(UserHandle) : bool
Return whether the given user is actively running.
IsUserRunningOrStopping(UserHandle) : bool
Return whether the given user is actively running or stopping.
SetRestrictionsChallenge(string) : bool
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.