Interface IUserInfo
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
public interface IUserInfo
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.
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.
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.
string? DisplayLastName { get; set; }
Property Value
Id
long Id { get; init; }
Property Value
LastActivityOn
Represents the date and time of the user's last activity.
DateTimeOffset? LastActivityOn { get; set; }
Property Value
Name
Represents the name (username) of the user. Unique but could change over time.
string Name { get; set; }
Property Value
Rank
Represents the rank of the user.
int Rank { get; set; }
Property Value
Sub
Guid Sub { get; init; }
Property Value
Methods
GetDisplayNameAbbreviation()
Returns an abbreviation of the user's display name.
string GetDisplayNameAbbreviation()
Returns
- string
An abbreviation formed by the first two letters of the first name and the first two letters of the last name, substituting 'X' for missing letters.
IsInactive()
Returns if user was active or is inactive (not logged in recently).
bool IsInactive()