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
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
The user's email.
[JsonPropertyName("email")]
public string? Email { get; set; }
Property Value
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
GivenName
The user's given name(s).
[JsonPropertyName("given_name")]
public string? GivenName { get; set; }
Property Value
Name
The user's full name.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Nickname
The user's nickname.
[JsonPropertyName("nickname")]
public string? Nickname { get; set; }
Property Value
Password
Initial password for this user. Only valid for auth0 connection strategy.
[JsonPropertyName("password")]
public string? Password { get; set; }
Property Value
PhoneNumber
The user's phone number (following the E.164 recommendation).
[JsonPropertyName("phone_number")]
public string? PhoneNumber { get; set; }
Property Value
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
UserId
The external user's id provided by the identity provider.
[JsonPropertyName("user_id")]
public string? UserId { get; set; }
Property Value
UserMetadata
[JsonPropertyName("user_metadata")]
public Dictionary<string, object?>? UserMetadata { get; set; }
Property Value
Username
The user's username. Only valid if the connection requires a username.
[JsonPropertyName("username")]
public string? Username { get; set; }
Property Value
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.