Quiz Component

A component needs to implement this interface as well as authentication interface to become a valid PSS quiz component. The web based password reset tool will be able to use your custom quiz module when it implements this interface and when it is deployed as per requirements.

The interface is available as MKQuiz.dll.

Note : A Quiz component must also implement Authentication interface and it should be deployed as an authentication component.

Method

Description

AddAnswerForUser

Stores an answer for a question number for a particular user.

CleanupAllAnswers

Removes all the answers stored for the given user

CleanupDatabase

Removes all the data on questions and answers

CleanupAnswersForUser

Removes all the answers stored for the given user

GetNumOfQuestions

Returns the numbers of questions set by the administrator

GetQuestion

Gets the question for a particular question number.

GetQuestionForUser

Gets the questions for the user

SetNumOfQuestions

Stores the number of questions to be asked in the database

SetQuestion

Sets a question number for a particular question.

ValidateAnswerforUser

Validates the answer