Module Values.GetUserResponseSource

Retrieves detailed information about a specific user in a Wickr network, including their profile, status, and activity history.

Sourcetype nonrec t = {
  1. userId : UserId.t option;
    (*

    The unique identifier of the user.

    *)
  2. firstName : SensitiveString.t option;
    (*

    The first name of the user.

    *)
  3. lastName : SensitiveString.t option;
    (*

    The last name of the user.

    *)
  4. username : GenericString.t option;
    (*

    The email address or username of the user.

    *)
  5. isAdmin : Boolean.t option;
    (*

    Indicates whether the user has administrator privileges in the network.

    *)
  6. suspended : Boolean.t option;
    (*

    Indicates whether the user is currently suspended.

    *)
  7. status : Integer.t option;
    (*

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

    *)
  8. lastActivity : Integer.t option;
    (*

    The timestamp of the user's last activity in the network, specified in epoch seconds.

    *)
  9. lastLogin : Integer.t option;
    (*

    The timestamp of the user's last login to the network, specified in epoch seconds.

    *)
  10. securityGroupIds : SecurityGroupIdList.t option;
    (*

    A list of security group IDs to which the user belongs.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestError of BadRequestError.t
  2. | `ForbiddenError of ForbiddenError.t
  3. | `InternalServerError of InternalServerError.t
  4. | `RateLimitError of RateLimitError.t
  5. | `ResourceNotFoundError of ResourceNotFoundError.t
  6. | `UnauthorizedError of UnauthorizedError.t
  7. | `ValidationError of ValidationError.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?userId:??? -> ?firstName:??? -> ?lastName:??? -> ?username:??? -> ?isAdmin:??? -> ?suspended:??? -> ?status:??? -> ?lastActivity:??? -> ?lastLogin:??? -> ?securityGroupIds:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of SecurityGroupId.t ] list | `String of UserId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t