Skip to content

Overview

//trimble-id-android/com.trimble.id.android.model/Account

Account

[androidJvm]
data class Account(val id: String?, val user: User?, val active: Boolean?, val lastLoginTime: Long?)

Represents a user account in the system.

This data class encapsulates the details of a user account, including:

  • The user information.
  • The unique account identifier.
  • Whether the account is currently active.
  • The timestamp of the last login for the account.

Constructors

Account[androidJvm]
constructor(id: String?, user: User?, active: Boolean?, lastLoginTime: Long?)

Properties

NameSummary
active[androidJvm]
val active: Boolean?
Indicates whether this account is currently active.
id[androidJvm]
val id: String?
The unique subject identifier (sub) of the account.
lastLoginTime[androidJvm]
val lastLoginTime: Long?
The timestamp of the last login for this account.
user[androidJvm]
val user: User?
The user information associated with the account.