Class AdminAccount
A local account in Synapse's user admin API.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record AdminAccount : IEquatable<AdminAccount>
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 |
CreationTs
Creation, in milliseconds since the Unix epoch.
Declaration
public long? CreationTs { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
Deactivated
Whether the account is deactivated.
Declaration
public bool Deactivated { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Devices
Logged-in devices, which this project's server adds.
Declaration
public int? Devices { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
DisplayName
Display name.
Declaration
[JsonPropertyName("displayname")]
public string? DisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
JoinedRooms
Joined rooms, which this project's server adds.
Declaration
public int? JoinedRooms { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
Locked
Whether the account is locked.
Declaration
public bool Locked { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
User ID.
Declaration
public string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Suspended
Whether the account is suspended.
Declaration
public bool Suspended { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |