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
)
Function ChangePassword (
password As String,
Optional confirmation As String = Nothing,
Optional actual As String = Nothing
) As IReturnValue
IReturnValue^ ChangePassword(
String^ password,
String^ confirmation = nullptr,
String^ actual = nullptr
)
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:
IReturnValueTrue 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