Class UserRow
A local user account.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class UserRow
Properties
| Edit this page View SourceAdmin
Whether the user administers the server.
Declaration
public bool Admin { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CreatedTs
Creation in milliseconds since the Unix epoch.
Declaration
public long CreatedTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Deactivated
Whether the account is deactivated and cannot log in.
Declaration
public bool Deactivated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Locked
Whether the account is locked: its sessions are refused until it is unlocked.
Declaration
public bool Locked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PasswordHash
Password hash from PasswordHasher; null for accounts without a password.
Declaration
public string? PasswordHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Suspended
Whether the account is suspended: it can read and leave, but not send, join or invite.
Declaration
public bool Suspended { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UserId
Full user ID; primary key.
Declaration
public required string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |