SDAC

TMSConnection.ChangePassword Method

Assignes a new password instead of an expired one..

Class

TMSConnection

Syntax

procedure ChangePassword(const NewPassword: string);

Parameters
NewPassword
Holds the new password assigned.

Remarks

Use the ChangePassword method to change an expired user's password. In SQL Server versions prior to SQL Server 2005 only a database administrator has permissions to change an expired user's password. Starting from SQL Server 2005 you can change it using the ChangePassword method and SQL Native Client.

Note: Only an expired user's password can be changed using this method.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback