Table of Contents

Class MemberUser

Namespace
Cloudflare.NET.Members.Models
Assembly
Cloudflare.NET.dll

User information associated with an account member.

public record MemberUser : IEquatable<MemberUser>
Inheritance
MemberUser
Implements
Inherited Members

Constructors

MemberUser(string, string, string?, string?, bool)

User information associated with an account member.

public MemberUser(string Id, string Email, string? FirstName = null, string? LastName = null, bool TwoFactorAuthenticationEnabled = false)

Parameters

Id string

User identifier.

Email string

User's email address.

FirstName string

User's first name (may be null for pending invitations).

LastName string

User's last name (may be null for pending invitations).

TwoFactorAuthenticationEnabled bool

Whether 2FA is enabled for the user.

Properties

Email

User's email address.

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

Property Value

string

FirstName

User's first name (may be null for pending invitations).

[JsonPropertyName("first_name")]
public string? FirstName { get; init; }

Property Value

string

Id

User identifier.

[JsonPropertyName("id")]
public string Id { get; init; }

Property Value

string

LastName

User's last name (may be null for pending invitations).

[JsonPropertyName("last_name")]
public string? LastName { get; init; }

Property Value

string

TwoFactorAuthenticationEnabled

Whether 2FA is enabled for the user.

[JsonPropertyName("two_factor_authentication_enabled")]
public bool TwoFactorAuthenticationEnabled { get; init; }

Property Value

bool