Table of Contents

Class UpdateUserRequestContent

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

Properties

AppMetadata

User metadata to which this user has read-only access.

[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?

ClientId

Auth0 client ID. Only valid when updating email address.

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

Connection

Name of the connection to target for this user update.

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

Property Value

string

Email

Email address of this user.

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

Property Value

Optional<string>

EmailVerified

Whether this email address is verified (true) or unverified (false). If set to false the user will not receive a verification email unless verify_email is set to true.

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

Property Value

bool?

FamilyName

Family name/last name/surname of this user.

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

Property Value

Optional<string>

GivenName

Given name/first name/forename of this user.

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

Property Value

Optional<string>

Name

Name of this user.

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

Property Value

Optional<string>

Nickname

Preferred nickname or alias of this user.

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

Property Value

Optional<string>

Password

New password for this user. Only valid for database connections.

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

Property Value

Optional<string>

PhoneNumber

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

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

Property Value

Optional<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

URL to picture, photo, or avatar of this user.

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

Property Value

Optional<string>

UserMetadata

User metadata to which this user has read/write access.

[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 Optional<string?> Username { get; set; }

Property Value

Optional<string>

VerifyEmail

Whether this 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?

VerifyPhoneNumber

Whether this user will receive a text after changing the phone number (true) or no text (false). Only valid when changing phone number for SMS connections.

[JsonPropertyName("verify_phone_number")]
public bool? VerifyPhoneNumber { 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.