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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admCreateGroup(groupName) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Create a single group to a project role if the group does not already exist.

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

## Return Type

**Boolean**

Returns "true" if operation succeeded.

## Example

```javascript
admCreateGroup("Test");
```

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

## See also

> Macro (contentbylabel)