---
url: "https://vueda.dev/v3/reference/api/py/vueda.user.management.commands.createuser/Command.md"
title: "Command"
---

# Command

## Overview

Create a regular user.

## `add_arguments` {#add_arguments}

Entry point for subclassed commands to add custom arguments.

### Signature {#add_arguments-signature}

`add_arguments(self, parser)`

#### Parameters {#add_arguments-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="add_arguments-param-parser">parser</span> |  | yes |  |  |

### Source {#add_arguments-source}

`server/vueda/user/management/commands/createuser.py:19`

## `get_input_data` {#get_input_data}

Override this method if you want to customize data inputs or
validation exceptions.

### Signature {#get_input_data-signature}

`get_input_data(self, field, message, default)`

#### Parameters {#get_input_data-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="get_input_data-param-field">field</span> |  | yes |  |  |
| <span id="get_input_data-param-message">message</span> |  | yes |  |  |
| <span id="get_input_data-param-default">default</span> |  | no | `None` |  |

### Source {#get_input_data-source}

`server/vueda/user/management/commands/createuser.py:69`

## `handle` {#handle}

The actual logic of the command. Subclasses must implement
this method.

### Signature {#handle-signature}

`handle(self, args, options)`

#### Parameters {#handle-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="handle-param-args">args</span> |  | no |  |  |
| <span id="handle-param-options">options</span> |  | no |  |  |

### Source {#handle-source}

`server/vueda/user/management/commands/createuser.py:29`

## `help` {#help}

## `username` {#username}

## Source

`server/vueda/user/management/commands/createuser.py:13`
