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
IdstringUser identifier.
EmailstringUser's email address.
FirstNamestringUser's first name (may be null for pending invitations).
LastNamestringUser's last name (may be null for pending invitations).
TwoFactorAuthenticationEnabledboolWhether 2FA is enabled for the user.
Properties
User's email address.
[JsonPropertyName("email")]
public string Email { get; init; }
Property Value
FirstName
User's first name (may be null for pending invitations).
[JsonPropertyName("first_name")]
public string? FirstName { get; init; }
Property Value
Id
User identifier.
[JsonPropertyName("id")]
public string Id { get; init; }
Property Value
LastName
User's last name (may be null for pending invitations).
[JsonPropertyName("last_name")]
public string? LastName { get; init; }
Property Value
TwoFactorAuthenticationEnabled
Whether 2FA is enabled for the user.
[JsonPropertyName("two_factor_authentication_enabled")]
public bool TwoFactorAuthenticationEnabled { get; init; }