Class UserInfo
- Namespace
- XENBIT.ResQueServe.Core.Models
- Assembly
- RQS.Core.dll
public record UserInfo : IUserInfo, IEquatable<UserInfo>
- Inheritance
-
UserInfo
- Implements
- Inherited Members
Properties
DispatcherTag
Represents an abbreviation formed by the first two letters of the first name and the first two letters of the last name, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual last name for privacy purposes.
public string? DispatcherTag { get; set; }
Property Value
DisplayFirstName
Represents the first name of the user, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual first name for privacy purposes.
public string? DisplayFirstName { get; set; }
Property Value
DisplayLastName
Represents the last name of the user, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual last name for privacy purposes.
public string? DisplayLastName { get; set; }
Property Value
Id
public required long Id { get; init; }
Property Value
LastActivityOn
Represents the date and time of the user's last activity.
public DateTimeOffset? LastActivityOn { get; set; }
Property Value
Name
Represents the name (username) of the user. Unique but could change over time.
public required string Name { get; set; }
Property Value
Rank
Represents the rank of the user.
public int Rank { get; set; }
Property Value
Sub
public required Guid Sub { get; init; }
Property Value
SuspendedUntilUtc
public DateTimeOffset? SuspendedUntilUtc { 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.