Importing Answers to Automatically Enroll Users

Password Reset Server allows Administrators to pre-load answers through a bulk import.

For a CSV import, the answer file must match the following format:
UserName,DomainName,QuestionName,Answer,CountryCode,Extension,HasOperator
(Note CountryCode, Extension, and HasOperator are not required for text questions)

Text Example
BSmith,testdomain,Childhood Friend,James

Email Example
BSmith,testdomain,Multifactor - Email, bsmith@testdomain.com

Phone Examples
BSmith,testdomain,Multifactor - Phone, 5555555555, 001, 745, false
BSmith,testdomain,Multifactor - Phone, 5555555555, 001, 745, true
BSmith,testdomain,Multifactor - Phone, 5555555555

SMS Examples
BSmith,testdomain,Multifactor - SMS, 5555555555, 001
BSmith,testdomain,Multifactor - SMS, 5555555555

For an XML import, the answer file must match the following format:

<?xml version="1.0" encoding="utf-8"?>
<ImportAnswers>
    <ImportAnswer>
        <UserName></UserName>
        <DomainName></DomainName>
        <QuestionName></QuestionName>
        <Answer></Answer>
        <CountryCode></CountryCode>
        <Extension></Extension>
        <HasOperator></HasOperator>
    </ImportAnswer>
</ImportAnswers>

Example XML:
<?xml version="1.0" encoding="utf-8"?>
<ImportAnswers>
    <ImportAnswer>
        <UserName>BSmith</UserName>
        <DomainName>testdomain</DomainName>
        <QuestionName>Childhood Friend</QuestionName>
        <Answer>James</Answer>
        <CountryCode />
        <Extension />
        <HasOperator />
    </ImportAnswer>
    <ImportAnswer>
        <UserName>BSmith</UserName>
        <DomainName>testdomain</DomainName>
        <QuestionName>Multifactor - Phone</QuestionName>
        <Answer>5555555555</Answer>
        <CountryCode>001</CountryCode>
        <Extension>745</Extension>
        <HasOperator>false</HasOperator>
    </ImportAnswer>
    <ImportAnswer>
        <UserName>BSmith</UserName>
        <DomainName>testdomain</DomainName>
        <QuestionName>Multifactor - SMS</QuestionName>
        <Answer>5555555555</Answer>
        <CountryCode>001</CountryCode>
        <Extension />
        <HasOperator />
    </ImportAnswer>
</ImportAnswers>

To import answers to Image Questions, you must have 16 or less images in your imageset (see folder "ChallengeImages" in your Password Reset Server installation).  You need to have 16 or less images to avoid the randomization of the images used per user that normally occurs during user enrollment.  Then you should assign an image (or more than one if necessary) to each user by setting the answer to the image filename - For example:  <Answer>thumbd.jpg</Answer>  or for multiple images, <Answer>thumbd.jpg,thumbf.jpg</Answer>

Article ID: 192, Created On: 11/7/2011, Modified: 12/16/2011