ValidatePersonalAnswer method

Determines whether a user's personal answer is correct.

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 ValidatePersonalAnswer (
   BSTR Answer,
   BSTR LockoutIPAddress,
   VARIANT_BOOL* pValidationReturn)
Scripting languages
Object.ValidatePersonalAnswer(
   Answer as String,
   LockoutIPAddress
as String)

Parameters


Answer

The correct answer to the user's account recovery personal question.

LockoutIPAddress

The address stored in case the account is locked out.

ValidationReturn

Upon return, TRUE if the answer matches; otherwise FALSE.

Return value


C++

The return code.

Scripting languages

Upon return, TRUE if the answer matches; otherwise FALSE.

Home

Applies to

IERUUser