User.ChangePassword Method (SecureString, SecureString)

 

Changes the user password.

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

public void ChangePassword(
	SecureString oldPassword,
	SecureString newPassword
)

Parameters

oldPassword
Type: System.Security.SecureString

The user’s exsisting password.

newPassword
Type: System.Security.SecureString

The user’s new password.

Return to top
Show: