In my application, new accounts must be created by an administrator--users
will not create their own. Ideally, the user could then log on and specify
their own password question and answer, and the administrator doesn't even
know what that question and answer is.
I thought I could do this since Membership.CreateUser() includes an overload
that does not include question and answer arguments. However, when I use it,
I get the error "Invalid question-answer."
Can anyone suggest a better approach?
Thanks.

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Scott Roberts - 18 Dec 2007 15:31 GMT
Change your Membership settings in web.config to not require a question &
answer.
On the provider, the attribute is:
requiresQuestionAndAnswer="false"
> In my application, new accounts must be created by an administrator--users
> will not create their own. Ideally, the user could then log on and specify
[quoted text clipped - 8 lines]
>
> Thanks.
Jonathan Wood - 19 Dec 2007 21:44 GMT
Make sense. Thanks Scott!

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
> Change your Membership settings in web.config to not require a question &
> answer.
[quoted text clipped - 15 lines]
>>
>> Thanks.