AWS Directory Service

2018/06/01 - AWS Directory Service - 1 new api methods

Changes  Added ResetUserPassword API. Customers can now reset their users' passwords without providing the old passwords in Simple AD and Microsoft AD.

ResetUserPassword (new) Link ΒΆ

Resets the password for any user in your AWS Managed Microsoft AD or Simple AD directory.

See also: AWS API Documentation

Request Syntax

client.reset_user_password(
    DirectoryId='string',
    UserName='string',
    NewPassword='string'
)
type DirectoryId

string

param DirectoryId

[REQUIRED]

Identifier of the AWS Managed Microsoft AD or Simple AD directory in which the user resides.

type UserName

string

param UserName

[REQUIRED]

The username of the user whose password will be reset.

type NewPassword

string

param NewPassword

[REQUIRED]

The new password that will be reset.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --