Class UserInformation
- Namespace
- SIMDispatcher.Core.Models
- Assembly
- SIMDispatcher.Core.dll
Represents a shortcut of public available user information's.
public record UserInformation : IEquatable<UserInformation>
- Inheritance
-
UserInformation
- Implements
- Inherited Members
Properties
Id
public long Id { get; set; }
Property Value
LastActivityOn
Represents the date and time of the user's last activity.
public DateTimeOffset? LastActivityOn { get; set; }
Property Value
Rank
Represents the rank of the user.
public int Rank { get; set; }
Property Value
Username
Represents the username of the user. Unique but could change over time.
public required string Username { get; set; }
Property Value
Methods
IsInactive()
Returns if user was active or is inactive (not logged in recently).
public bool IsInactive()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.