Share via


UserManager.UserCreationFailedNotPermitted Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.

Error result indicating that this user is not allowed to add other users on this device.

[Android.Runtime.Register("USER_CREATION_FAILED_NOT_PERMITTED", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.", true)]
public const Android.OS.UserCreationFailureReason UserCreationFailedNotPermitted = 1;
[<Android.Runtime.Register("USER_CREATION_FAILED_NOT_PERMITTED", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.", true)>]
val mutable UserCreationFailedNotPermitted : Android.OS.UserCreationFailureReason

Field Value

Value = 1
Attributes

Remarks

Error result indicating that this user is not allowed to add other users on this device. This is a result code returned from the activity created by the intent #createUserCreationIntent(String, String, String, PersistableBundle).

Java documentation for android.os.UserManager.USER_CREATION_FAILED_NOT_PERMITTED.

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.

Applies to