Module Values.UserSource

A structure that specifies one user or group in the workspace.

Sourcetype nonrec t = {
  1. id : SsoId.t;
    (*

    The ID of the user or group. Pattern: ^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$

    *)
  2. type_ : UserType.t;
    (*

    Specifies whether this is a single user or a group.

    *)
}
Sourceval context_ : string
Sourceval make : id:SsoId.t -> type_:UserType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of SsoId.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