Class AdminUser
A local account as the admin screens list it.
Implements
Inherited Members
Namespace: Uniform.Matrix.Server.Accounts
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed record AdminUser : IEquatable<AdminUser>
Properties
| Edit this page View SourceAdmin
Whether the user administers the server.
Declaration
public bool Admin { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
AvatarUrl
Avatar content URI.
Declaration
public string? AvatarUrl { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Created
Creation time.
Declaration
public DateTimeOffset Created { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
Deactivated
Whether the account is deactivated.
Declaration
public bool Deactivated { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Devices
Logged-in devices.
Declaration
public int Devices { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
DisplayName
Display name.
Declaration
public string? DisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Locked
Whether the account is locked: its sessions are refused.
Declaration
public bool Locked { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Rooms
Joined rooms.
Declaration
public int Rooms { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Suspended
Whether the account is suspended: it can read but not send.
Declaration
public bool Suspended { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
UserId
Full user ID.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |