AdminAccount

@Serializable
data class AdminAccount(val accountId: String, val username: String, val domain: String, val createdAt: Instant, val email: String, val ip: String, val locale: String, val inviteRequest: String, val role: AccountRole, val isConfirmed: Boolean, val isApproved: Boolean, val isDisabled: Boolean, val isSilenced: Boolean, val isSuspended: Boolean, val account: Account, val createdByApplicationId: String? = null, val invitedByAccountId: String? = null)

Admin-level information about a given account.

Constructors

Link copied to clipboard
constructor(accountId: String, username: String, domain: String, createdAt: Instant, email: String, ip: String, locale: String, inviteRequest: String, role: AccountRole, isConfirmed: Boolean, isApproved: Boolean, isDisabled: Boolean, isSilenced: Boolean, isSuspended: Boolean, account: Account, createdByApplicationId: String? = null, invitedByAccountId: String? = null)

Properties

Link copied to clipboard

User-level information about the account.

Link copied to clipboard
Link copied to clipboard
val createdAt: Instant

Date at which the account was created.

Link copied to clipboard

The ID of the application that created this account.

Link copied to clipboard

The domain of the account.

Link copied to clipboard

The email address associated with the account.

Link copied to clipboard

The ID of the account that invited this user.

Link copied to clipboard

Text of the invite request sent to join the server.

Link copied to clipboard
val ip: String

The IP address last used to login to this account.

Link copied to clipboard

Whether the account is currently approved.

Link copied to clipboard

Whether the account has confirmed their email address.

Link copied to clipboard

Whether the account is currently disabled.

Link copied to clipboard

Whether the account is currently silenced.

Link copied to clipboard

Whether the account is currently suspended.

Link copied to clipboard

The locale of the account.

Link copied to clipboard

The current role of the account.

Link copied to clipboard

The username of the account, not including the domain.