AuthenticablePrincipal.ChangePassword Method (String, String)
Changes the account password from the old password to the new password. Do not use this with a T:System.DirecoryServices.AccountManagement.ComputerPrincipal.
Assembly: System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)
This method is not intended for computer principals. Calling this with a T:System.DirecoryServices.AccountManagement.ComputerPrincipal will cause a NotSupportedException to be thrown.
Available since 3.5