Quiz Method: ValidateAnswerforUser

ValidateAnswerforUser

(

UserAcct as Variant,

QuestionNum As Integer,

Answer As String,

OutMessage As String

) As Integer;

Parameters

[in] Variant UserAcct

Has array user account names

[in] Integer QuestionNum

The question number to check for

[in] String Answer

The Answer string to be checked

[in] String OutMessage

Error message while getting answer from database. Is blank if the answer can be obtained.

Description

Validates the answer

Return Values

Value

Description

0

proceed to the next question

-1

to stop asking for any questions as the user is successfully validated

1

to stop asking any questions as the user is successfully validated and the system must proceed with reset

 

See Also