ChangePasswordQuestionAndAnswer attempts to change the users password Question and PasswordAnswer

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool ChangePasswordQuestionAndAnswer(
	UserInfo user,
	string password,
	string passwordQuestion,
	string passwordAnswer
)
Visual Basic
Public Shared Function ChangePasswordQuestionAndAnswer ( 
	user As UserInfo,
	password As String,
	passwordQuestion As String,
	passwordAnswer As String
) As Boolean

Parameters

user
Type: DotNetNuke.Entities.Users..::..UserInfo
The user to update.
password
Type: System..::..String
The password.
passwordQuestion
Type: System..::..String
The new password question.
passwordAnswer
Type: System..::..String
The new password answer.

Return Value

A Boolean indicating success or failure.

Remarks