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

long

LastActivityOn

Represents the date and time of the user's last activity.

public DateTimeOffset? LastActivityOn { get; set; }

Property Value

DateTimeOffset?

Rank

Represents the rank of the user.

public int Rank { get; set; }

Property Value

int

Username

Represents the username of the user. Unique but could change over time.

public required string Username { get; set; }

Property Value

string

Methods

IsInactive()

Returns if user was active or is inactive (not logged in recently).

public bool IsInactive()

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.