Module Values.BatchCreateUserRequestItemSource

Contains the details for a single user to be created in a batch user creation request. 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. codeValidation, inviteCode, and inviteCodeTtl are restricted to networks under preview only.

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

    The first name of the user.

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

    The last name of the user.

    *)
  3. securityGroupIds : SecurityGroupIdList.t;
    (*

    A list of security group IDs to which the user should be assigned.

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

    The email address or username for the user. Must be unique within the network.

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

    A custom invite code for the user. If not provided, one will be generated automatically.

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

    The time-to-live for the invite code in days. After this period, the invite code will expire.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?firstName:??? -> ?lastName:??? -> ?inviteCode:??? -> ?inviteCodeTtl:??? -> ?codeValidation:??? -> securityGroupIds:SecurityGroupIdList.t -> username:GenericString.t -> 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