SetPersonalAnswer method

Sets the account recovery question and answer.

Account recovery allows users who have forgotten their passwords to reset their passwords after answering a previously-configured personal question (for example, place of birth, or mother's maiden name).

Syntax


C++
HRESULT SetPersonalAnswer (
   LONG QuestionID,
   BSTR Answer)
Scripting languages
Object.SetPersonalAnswer(
   QuestionID as Long,
   Answer as String
)

Parameters


QuestionID

The ID of the question.

Answer

The correct answer to the question.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUUser