# WinUser.GroupCreationMode

Import: `import com.install4j.api.windows.WinUser;`

```java
public static final enum GroupCreationMode
```

The group creation mode.

## Constants

### NONE

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

### USE_EXISTING

The new user should be added to an existing group.

### CREATE_IF_NECESSARY

If the specified group does not exist, create it.

### CREATE_OR_FAIL

Fail if the group already exists.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `GroupCreationMode[]` |  |
| [`valueOf(String)`](#valueof-string) | `GroupCreationMode` |  |
| [`toString()`](#tostring) | `String` |  |

### values()

```java
public static GroupCreationMode[] values()
```

### valueOf(String)

```java
public static GroupCreationMode valueOf(String name)
```

### toString()

```java
public String toString()
```

