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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admCreateUser(username, password, email, fullName) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Creates a new user.

Creates the user and configures it with the username, display name, email, and password.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | username | String | Yes | Username for new user. |
> | password | String | Yes | Password for new user. |
> | email | String | Yes | Email for new user. |
> | fullName | String | Yes | Full name (display name) for new user. |

## Return Type

**Boolean (true/false)**

Returns "true" if the user was created and "false" if not.

## Example

```javascript
return admCreateUser("jdoe", "password1", "jdoe@company.com", "John Doe");
```

Result: A new user "jdoe" will be created.

## See also

> Macro (contentbylabel)