> For the complete documentation index, see [llms.txt](https://dansteren.gitbook.io/cordova-plugin-gotenna/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dansteren.gitbook.io/cordova-plugin-gotenna/api/user/createuser.md).

# createUser

A static helper method for creating a new User.

## Arguments

`name: string` The name of the user

`gid: number` The gotenna ID (GID) of the user

## Returns

`User` A new [User](/cordova-plugin-gotenna/api/user.md) object
