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: System.String

The user’s exsisting password.

newPassword
Type: System.String

The user’s new password.

Return to top
Show: