Package com.install4j.api.windows
Enum Class WinUser.AddUserResultType
- All Implemented Interfaces:
Serializable
,Comparable<WinUser.AddUserResultType>
,Constable
- Enclosing class:
- WinUser
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe current user has no access to the user database or the operation is only allowed on the primary domain controller of the domain.The user name is invalid.The group that should be newly created already exists.The group that should already exist could not be found.Another type of error occurred during user creation.The password does not meet the password policy requirements.The group that should already exist could not be found.The user creation and the optional local group creation succeeded. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static WinUser.AddUserResultType
Returns the enum constant of this class with the specified name.static WinUser.AddUserResultType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The user creation and the optional local group creation succeeded. -
ERROR_ACCESS_DENIED
The current user has no access to the user database or the operation is only allowed on the primary domain controller of the domain. -
ERROR_GROUP_EXISTS
The group that should be newly created already exists. -
ERROR_GROUP_NOT_FOUND
The group that should already exist could not be found. -
ERROR_USER_EXISTS
The group that should already exist could not be found. -
ERROR_BAD_USER_NAME
The user name is invalid. -
ERROR_PASSWORD_REQUIREMENTS
The password does not meet the password policy requirements. Check the minimum password length, password complexity, and password history requirements. -
ERROR_OTHER
Another type of error occurred during user creation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<WinUser.AddUserResultType>
-