Export (0) Print
Expand All

User.ChangePassword Method (String, String)

Changes the user password.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void ChangePassword(
	string oldPassword,
	string newPassword
)

Parameters

oldPassword
Type: String
The user’s exsisting password.
newPassword
Type: String
The user’s new password.

Community Additions

ADD
Show:
© 2014 Microsoft