---
title: "admCreateGroup"
canonical: "https://support.appfire.com/space/PSJ/15486396/admCreateGroup"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | createGroup(groupName) | **Package** | adm |
| **Alias** | createGroup | **Pkg Usage** | createGroup(groupName) |

## Description

> Macro (excerpt)

Create a single group to a project role if the group does not already exist.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| Group name | String | Yes | The name that describes the group. |

## Return Type

**Boolean**

Returns "true" if operation succeeded.

## Example

```
createGroup("Test");
```

Result: A new group "Test" will be created.

## See also

> Macro (contentbylabel)