AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Container for the parameters to the ChangePassword operation. Changes the password of the IAM user who is calling this action. The root account password is not affected by this action.

To change the password for a different user, see UpdateLoginProfile. For more information about modifying passwords, see Managing Passwords in the IAM User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IdentityManagement.AmazonIdentityManagementServiceRequest
      Amazon.IdentityManagement.Model.ChangePasswordRequest

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class ChangePasswordRequest : AmazonIdentityManagementServiceRequest
         IRequestEvents

The ChangePasswordRequest type exposes the following members

Constructors

NameDescription
Public Method ChangePasswordRequest()

Properties

NameTypeDescription
Public Property 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.

Public Property OldPassword System.String Gets and sets the property OldPassword.

The IAM user's current password.

Version Information

.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