User
¶
Source code in docs_src/capo_wickr/types/user.py
cell
instance-attribute
¶
cell: NotRequired[GenericString]
The phone number minus country code, used for cloud deployments.
challenge_failures
instance-attribute
¶
challenge_failures: NotRequired[int]
The number of failed password attempts for enterprise deployments, used for account lockout policies.
code_validation
instance-attribute
¶
code_validation: NotRequired[bool]
Indicates whether the user can be verified through a custom invite code.
country_code
instance-attribute
¶
country_code: NotRequired[GenericString]
The country code for the user's phone number, used for cloud deployments.
first_name
instance-attribute
¶
first_name: NotRequired[SensitiveString]
The first name of the user.
invite_code
instance-attribute
¶
invite_code: NotRequired[GenericString]
The invitation code for this user, used during registration to join the network.
is_admin
instance-attribute
¶
is_admin: NotRequired[bool]
Indicates whether the user has administrator privileges in the network.
is_invite_expired
instance-attribute
¶
is_invite_expired: NotRequired[bool]
Indicates whether the user's email invitation code has expired, applicable to cloud deployments.
is_user
instance-attribute
¶
is_user: NotRequired[bool]
Indicates whether this account is a user (as opposed to a bot or other account type).
otp_enabled
instance-attribute
¶
otp_enabled: NotRequired[bool]
Indicates whether one-time password (OTP) authentication is enabled for the user.
scim_id
instance-attribute
¶
scim_id: NotRequired[GenericString]
The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization. Currently not used.
security_groups
instance-attribute
¶
security_groups: NotRequired[SecurityGroupIdList]
A list of security group IDs to which the user is assigned, determining their permissions and feature access.
status
instance-attribute
¶
status: NotRequired[int]
The current status of the user (1 for pending invitation, 2 for active).
suspended
instance-attribute
¶
suspended: NotRequired[bool]
Indicates whether the user is currently suspended and unable to access the network.
type
instance-attribute
¶
type: NotRequired[GenericString]
The descriptive type of the user account (e.g., 'user').
user_id
instance-attribute
¶
user_id: NotRequired[UserId]
The unique identifier for the user within the network.
username
instance-attribute
¶
username: NotRequired[GenericString]
The email address or username of the user. For bots, this must end in 'bot'.