Change the password of the current user, the runtime need to have a Principal. The current user needs to support password system.

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGPasswordModificationState ChangePassword(
	string oldPassword,
	string newPassword,
	string passwordConfirmation
)
Visual Basic
Public Function ChangePassword ( 
	oldPassword As String,
	newPassword As String,
	passwordConfirmation As String
) As VGPasswordModificationState

Parameters

oldPassword
Type: System..::..String
Provide the current password of the user
newPassword
Type: System..::..String
Provide the new password of the user
passwordConfirmation
Type: System..::..String
Provide the new password of the user

Return Value

Type: VGPasswordModificationState

See Also