Table of Contents

Class User

Namespace
Auth0.ManagementApi.Models
Assembly
Auth0.ManagementApi.dll

Represents a user as returned from various APIs.

public class User : UserBase
Inheritance
User
Inherited Members

Properties

CreatedAt

Gets or sets the date the user was created.

[JsonProperty("created_at")]
public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

Identities

An array of objects with information about the user's identities. More than one will exists in case accounts are linked

[JsonProperty("identities")]
public Identity[] Identities { get; set; }

Property Value

Identity[]

LastIpAddress

The last login IP address.

[JsonProperty("last_ip")]
public string LastIpAddress { get; set; }

Property Value

string

LastLogin

The last login date for this user.

[JsonProperty("last_login")]
public DateTime? LastLogin { get; set; }

Property Value

DateTime?

LastPasswordReset

Gets or sets the date the user last reset their password.

[JsonProperty("last_password_reset")]
public DateTime? LastPasswordReset { get; set; }

Property Value

DateTime?

Locale

[JsonProperty("locale")]
[JsonConverter(typeof(StringOrObjectAsStringConverter))]
public string Locale { get; set; }

Property Value

string

Remarks

Returned for the Facebook, Google, and Microsoft social providers.

LoginsCount

The number of logins for this user.

[JsonProperty("logins_count")]
public string LoginsCount { get; set; }

Property Value

string

Multifactor

Multifactor settings.

[JsonProperty("multifactor")]
public string[] Multifactor { get; set; }

Property Value

string[]

ProviderAttributes

Contains a lists of all the extra provider specific user attributes over and above those contained in the normalized user profile.

[JsonExtensionData]
public IDictionary<string, JToken> ProviderAttributes { get; set; }

Property Value

IDictionary<string, JToken>

UpdatedAt

Gets or sets the date the user was last updated (modified).

[JsonProperty("updated_at")]
public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?

UserId

A unique identifier of the user per identity provider, same for all apps (e.g.: google-oauth2|103547991597142817347). ALWAYS GENERATED

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

Property Value

string