Updates the password for the membership user in the Visual Guard repository.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public bool ChangePassword( string oldPassword, string newPassword ) |
Visual Basic |
---|
Public Function ChangePassword ( oldPassword As String, newPassword As String ) As Boolean |
Parameters
- oldPassword
- Type: System..::..String
The current password for the membership user.
- newPassword
- Type: System..::..String
The new password for the membership user.
Return Value
Type: Booleantrue if the update was successful; otherwise, false.