User

class User

Represents a user account in a Wickr network with detailed profile information, status, security settings, and authentication details.

codeValidation, inviteCode and inviteCodeTtl are restricted to networks under preview only.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cell: String?

The phone number minus country code, used for cloud deployments.

Link copied to clipboard

The number of failed password attempts for enterprise deployments, used for account lockout policies.

Link copied to clipboard

Indicates whether the user can be verified through a custom invite code.

Link copied to clipboard

The country code for the user's phone number, used for cloud deployments.

Link copied to clipboard

The first name of the user.

Link copied to clipboard

The invitation code for this user, used during registration to join the network.

Link copied to clipboard

Indicates whether the user has administrator privileges in the network.

Link copied to clipboard

Indicates whether the user's email invitation code has expired, applicable to cloud deployments.

Link copied to clipboard

Indicates whether this account is a user (as opposed to a bot or other account type).

Link copied to clipboard

The last name of the user.

Link copied to clipboard

Indicates whether one-time password (OTP) authentication is enabled for the user.

Link copied to clipboard

The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization. Currently not used.

Link copied to clipboard

A list of security group IDs to which the user is assigned, determining their permissions and feature access.

Link copied to clipboard
val status: Int?

The current status of the user (1 for pending invitation, 2 for active).

Link copied to clipboard

Indicates whether the user is currently suspended and unable to access the network.

Link copied to clipboard
val type: String?

The descriptive type of the user account (e.g., 'user').

Link copied to clipboard

The unique identifier for the user.

Link copied to clipboard

The unique identifier for the user within the network.

Link copied to clipboard

The email address or username of the user. For bots, this must end in 'bot'.

Functions

Link copied to clipboard
inline fun copy(block: User.Builder.() -> Unit = {}): User
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String