Table of Contents

Class CreateUserRequestContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record CreateUserRequestContent : IEquatable<CreateUserRequestContent>
Inheritance
CreateUserRequestContent
Implements
Inherited Members
Extension Methods

Properties

AppMetadata

[JsonPropertyName("app_metadata")]
public Dictionary<string, object?>? AppMetadata { get; set; }

Property Value

Dictionary<string, object>

Blocked

Whether this user was blocked by an administrator (true) or not (false).

[JsonPropertyName("blocked")]
public bool? Blocked { get; set; }

Property Value

bool?

Connection

Name of the connection this user should be created in.

[JsonPropertyName("connection")]
public required string Connection { get; set; }

Property Value

string

Email

The user's email.

[JsonPropertyName("email")]
public string? Email { get; set; }

Property Value

string

EmailVerified

Whether this email address is verified (true) or unverified (false). User will receive a verification email after creation if email_verified is false or not specified

[JsonPropertyName("email_verified")]
public bool? EmailVerified { get; set; }

Property Value

bool?

FamilyName

The user's family name(s).

[JsonPropertyName("family_name")]
public string? FamilyName { get; set; }

Property Value

string

GivenName

The user's given name(s).

[JsonPropertyName("given_name")]
public string? GivenName { get; set; }

Property Value

string

Name

The user's full name.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Nickname

The user's nickname.

[JsonPropertyName("nickname")]
public string? Nickname { get; set; }

Property Value

string

Password

Initial password for this user. Only valid for auth0 connection strategy.

[JsonPropertyName("password")]
public string? Password { get; set; }

Property Value

string

PhoneNumber

The user's phone number (following the E.164 recommendation).

[JsonPropertyName("phone_number")]
public string? PhoneNumber { get; set; }

Property Value

string

PhoneVerified

Whether this phone number has been verified (true) or not (false).

[JsonPropertyName("phone_verified")]
public bool? PhoneVerified { get; set; }

Property Value

bool?

Picture

A URI pointing to the user's picture.

[JsonPropertyName("picture")]
public string? Picture { get; set; }

Property Value

string

UserId

The external user's id provided by the identity provider.

[JsonPropertyName("user_id")]
public string? UserId { get; set; }

Property Value

string

UserMetadata

[JsonPropertyName("user_metadata")]
public Dictionary<string, object?>? UserMetadata { get; set; }

Property Value

Dictionary<string, object>

Username

The user's username. Only valid if the connection requires a username.

[JsonPropertyName("username")]
public string? Username { get; set; }

Property Value

string

VerifyEmail

Whether the user will receive a verification email after creation (true) or no email (false). Overrides behavior of email_verified parameter.

[JsonPropertyName("verify_email")]
public bool? VerifyEmail { get; set; }

Property Value

bool?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.