WinUser.GroupCreationMode (install4j help)
Date: 2010-09-29

## install4j API documentation

## com.install4j.api.windows
Class WinUser.GroupCreationMode

    java.lang.Object
      com.install4j.api.windows.WinUser.GroupCreationMode

Enclosing class:
  WinUser

    public static class WinUser.GroupCreationMode

extends java.lang.Object

The group creation mode.

Field Summary
`static WinUser.GroupCreationMode` | `CREATE_IF_NECESSARY` If the specified group does not exist, create it.
`static WinUser.GroupCreationMode` | `CREATE_OR_FAIL` Fail if the group already exists.
`static WinUser.GroupCreationMode` | `NONE` No group should be created and associated with the new user.
`static WinUser.GroupCreationMode` | `USE_EXISTING` The new user should be added to an existing group.

Method Summary
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### NONE

    public static final WinUser.GroupCreationMode NONE

  No group should be created and associated with the new user.

### USE_EXISTING

    public static final WinUser.GroupCreationMode USE_EXISTING

  The new user should be added to an existing group.

### CREATE_IF_NECESSARY

    public static final WinUser.GroupCreationMode CREATE_IF_NECESSARY

  If the specified group does not exist, create it.

### CREATE_OR_FAIL

    public static final WinUser.GroupCreationMode CREATE_OR_FAIL

  Fail if the group already exists.

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`