Android.OS.UserManager.HasUserRestriction Method
Returns whether the current user has been disallowed from performing certain actions or setting certain settings.

Syntax

[Android.Runtime.Register("hasUserRestriction", "(Ljava/lang/String;)Z", "GetHasUserRestriction_Ljava_lang_String_Handler")]
public virtual bool HasUserRestriction (string restrictionKey)

Parameters

restrictionKey
The string key representing the restriction.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns whether the current user has been disallowed from performing certain actions or setting certain settings.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17