public static enum WinUser.GroupCreationMode extends java.lang.Enum<WinUser.GroupCreationMode>
Enum Constant and Description |
---|
CREATE_IF_NECESSARY
If the specified group does not exist, create it.
|
CREATE_OR_FAIL
Fail if the group already exists.
|
NONE
No group should be created and associated with the new user.
|
USE_EXISTING
The new user should be added to an existing group.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static WinUser.GroupCreationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WinUser.GroupCreationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WinUser.GroupCreationMode NONE
public static final WinUser.GroupCreationMode USE_EXISTING
public static final WinUser.GroupCreationMode CREATE_IF_NECESSARY
public static final WinUser.GroupCreationMode CREATE_OR_FAIL
public static WinUser.GroupCreationMode[] values()
for (WinUser.GroupCreationMode c : WinUser.GroupCreationMode.values()) System.out.println(c);
public static WinUser.GroupCreationMode 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.GroupCreationMode>