Changes the password of the user.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public VGPasswordModificationState ChangePassword( VGICredential credential, string oldpassword, string newpassword, string passwordconfirmation ) |
Visual Basic |
---|
Public Function ChangePassword ( credential As VGICredential, oldpassword As String, newpassword As String, passwordconfirmation As String ) As VGPasswordModificationState |
Parameters
- credential
- Type: Novalys.VisualGuard.Security.AuthenticationModule..::..VGICredential
credential object of the user
- oldpassword
- Type: System..::..String
- newpassword
- Type: System..::..String
the new password of the given user.
- passwordconfirmation
- Type: System..::..String
the confirmation of the new password.
Return Value
Type: VGPasswordModificationStateA VGPasswordModificationState representing the status of the modification.