Lingua

UserCreationFailureReason Enum

Definition

Defines user creation failure reason values used by the Android OS API.

public enum UserCreationFailureReason
type UserCreationFailureReason = 
Inheritance
UserCreationFailureReason

Fields

Name Value Description
NotPermitted 1

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) .

NoMoreUsers 2

Error result indicating that no more users can be created on this device. This is a result code returned from the activity created by the intent createUserCreationIntent(String,String,String,PersistableBundle) .

Remarks

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.

Java documentation for android.os.UserManager.

Applies to