Changes the password of an account to the new password.
class procedure ChangePassword(Connection: TCustomDAConnection; NewPassword: string);
Call the ChangePassword method to replace an expired user's password with the new password. In SQL Server versions prior to SQL Server 2005, only the database administrator has permissions to change an expired user's password. Starting with SQL Server 2005, you can change the password using the ChangePassword method and SQL Native Client.
Note: Only an expired password can be changed using this method.