public static enum WinUser.AddUserResultType extends java.lang.Enum<WinUser.AddUserResultType>
Enum Constant and Description |
---|
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_OTHER
Another type of error occurred during user creation.
|
ERROR_PASSWORD_REQUIREMENTS
The password does not meet the password policy requirements.
|
ERROR_USER_EXISTS
The group that should already exist could not be found.
|
SUCCESS
The user creation and the optional local group creation succeeded.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static WinUser.AddUserResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WinUser.AddUserResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WinUser.AddUserResultType SUCCESS
public static final WinUser.AddUserResultType ERROR_ACCESS_DENIED
public static final WinUser.AddUserResultType ERROR_GROUP_EXISTS
public static final WinUser.AddUserResultType ERROR_GROUP_NOT_FOUND
public static final WinUser.AddUserResultType ERROR_USER_EXISTS
public static final WinUser.AddUserResultType ERROR_PASSWORD_REQUIREMENTS
public static final WinUser.AddUserResultType ERROR_OTHER
public static WinUser.AddUserResultType[] values()
for (WinUser.AddUserResultType c : WinUser.AddUserResultType.values()) System.out.println(c);
public static WinUser.AddUserResultType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<WinUser.AddUserResultType>