Values.CreateUserRequestSourceCreates a new user.
type nonrec t = {clientToken : ClientToken.t option;A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call. A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours. If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException. This parameter is optional when using the CLI or SDK.
*)directoryId : DirectoryId.t;The identifier (ID) of the directory that’s associated with the user.
*)emailAddress : EmailAddress.t option;The email address of the user.
*)givenName : GivenName.t option;The first name of the user.
*)otherAttributes : Attributes.t option;An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes. Attribute names are case insensitive.
*)sAMAccountName : UserName.t;The name of the user.
*)surname : Surname.t option;The last name of the user.
*)}val make :
?clientToken:??? ->
?emailAddress:??? ->
?givenName:??? ->
?otherAttributes:??? ->
?surname:??? ->
directoryId:DirectoryId.t ->
sAMAccountName:UserName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of LdapDisplayName.t ]
* [> `Structure of
(string
* [> `Boolean of BooleanAttributeValue.t
| `List of
[> `String of StringAttributeValue.t ] list
| `Long of NumberAttributeValue.t
| `String of StringAttributeValue.t ])
list ])
list
| `String of ClientToken.t ])
list ]