Click or drag to resize

IUserChangePassword Method

Change the user password.
It will not save the new password in the database unless you explicitly call the Save method

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
IReturnValue ChangePassword(
	string password,
	string confirmation = null,
	string actual = null
)

Parameters

password
Type: SystemString
New user password
confirmation (Optional)
Type: SystemString
Confirmation of the new user password.
actual (Optional)
Type: SystemString
Actual user password.

Return Value

Type: IReturnValue
True when the new provided password is valid
Remarks
This method will alter the `Password` and `PasswordSalt` fields.
It will not save the new password in the database unless you explicitly call the Save method
See Also