Class UserListDto
- Namespace
- Builvero.Application.DTOs.Admin
- Assembly
- Builvero.Application.dll
Data transfer object representing a user in administrative lists and views.
public class UserListDto
- Inheritance
-
UserListDto
- Inherited Members
Remarks
This DTO is used for displaying users in admin interfaces with summary information. It does not include sensitive data like passwords or detailed profile information.
Properties
AuthMethod
Gets or sets the authentication method used by the user as a string (e.g., "EmailPassword", "OAuth", "Mixed").
public string AuthMethod { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
This is the string representation of the AuthMethod enum.
Category
Gets or sets the primary category classification for the user as a string.
public string? Category { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
May be null if the user has not specified a primary category. This is the string representation of the UserCategory enum.
CreatedAt
Gets or sets the UTC timestamp when the user account was created.
public DateTime CreatedAt { get; set; }
Property Value
- DateTime
- Data transfer object representing a user in administrative lists and views.
Gets or sets the email address of the user.
public string? Email { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
May be null for OAuth-only accounts where the provider did not supply an email.
FullName
Gets or sets the full name of the user from their profile.
public string? FullName { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
May be null if the user has not completed their profile.
Id
Gets or sets the unique identifier of the user.
public Guid Id { get; set; }
Property Value
- Guid
- Data transfer object representing a user in administrative lists and views.
InvitationCode
Gets or sets the invitation code that was used during user registration.
public string? InvitationCode { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
May be null if the user registered without an invitation code (legacy accounts).
LastLoginAt
Gets or sets the UTC timestamp of the user's last successful login.
public DateTime? LastLoginAt { get; set; }
Property Value
- DateTime?
- Data transfer object representing a user in administrative lists and views.
Remarks
May be null if the user has never logged in.
Role
Gets or sets the role assigned to the user as a string (e.g., "User", "Admin", "Moderator").
public string Role { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
This is the string representation of the UserRole enum.
Status
Gets or sets the current status of the user account as a string (e.g., "Active", "Blocked", "PendingVerification").
public string Status { get; set; }
Property Value
- string
- Data transfer object representing a user in administrative lists and views.
Remarks
This is the string representation of the UserStatus enum.
UpdatedAt
Gets or sets the UTC timestamp when the user account was last updated.
public DateTime UpdatedAt { get; set; }
Property Value
- DateTime
- Data transfer object representing a user in administrative lists and views.