Module Values.UpdateUserDetailsSource

Contains the modifiable details for updating an existing user, including name, password, security group membership, and invitation settings. A user can only be assigned to a single security group. Attempting to add a user to multiple security groups is not supported and will result in an error.

Sourcetype nonrec t = {
  1. firstName : SensitiveString.t option;
    (*

    The new first name for the user.

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

    The new last name for the user.

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

    The new username or email address for the user.

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

    The updated list of security group IDs to which the user should belong.

    *)
  5. inviteCode : GenericString.t option;
    (*

    A new custom invite code for the user.

    *)
  6. inviteCodeTtl : Integer.t option;
    (*

    The new time-to-live for the invite code in days.

    *)
  7. codeValidation : Boolean.t option;
    (*

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

    *)
}
Sourceval make : ?firstName:??? -> ?lastName:??? -> ?username:??? -> ?securityGroupIds:??? -> ?inviteCode:??? -> ?inviteCodeTtl:??? -> ?codeValidation:??? -> unit -> 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 SensitiveString.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