---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/users](../index.md) / createUser

# Function: createUser()

> **createUser**(`client`, `options`): `Promise`\<\{ \}\>

Defined in: [packages/b2c-tooling-sdk/src/operations/users/index.ts:155](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/users/index.ts#L155)

Creates a new user.

## Parameters

### client

[`AccountManagerUsersClient`](../../../clients/type-aliases/AccountManagerUsersClient.md)

Account Manager client

### options

[`CreateUserOptions`](../interfaces/CreateUserOptions.md)

Create options (user details)

## Returns

`Promise`\<\{ \}\>

Created user
