AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
To change the password for a different user, see UpdateLoginProfile. For more information about modifying passwords, see Managing Passwords in the IAM User Guide.
Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ChangePasswordRequest : AmazonIdentityManagementServiceRequest IRequestEvents
The ChangePasswordRequest type exposes the following members
Name | Description | |
---|---|---|
ChangePasswordRequest() |
Name | Type | Description | |
---|---|---|---|
NewPassword | System.String |
Gets and sets the property NewPassword.
The new password. The new password must conform to the AWS account's password policy, if one exists. |
|
OldPassword | System.String |
Gets and sets the property OldPassword.
The IAM user's current password. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1