Module Values.DisableUserRequestSource

Deactivates an active user account. For information about how to enable an inactive user account, see ResetUserPassword in the Directory Service API Reference.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. directoryId : DirectoryId.t;
    (*

    The identifier (ID) of the directory that's associated with the user.

    *)
  3. sAMAccountName : UserName.t;
    (*

    The name of the user.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> directoryId:DirectoryId.t -> sAMAccountName:UserName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClientToken.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