Setting IsApproved to false on CreateUser Control

J

JJ

How can you set the IsApproved flag to false for all new registrations?
I am using the createUser wizard to setup my user registration page.

Thanks in advance,
JJ
 
M

maurban

I'm also running into dead ends trying figuring this one out.

Quoted from 4 Guys from rolla:
"
The Membership system enables user accounts to be marked as inactive
(not approved) and locked out. When creating a new user account, the
account is, by default, approved. However, in some scenarios you might
want to have an administrator manually approve new accounts before they
become active, or have the user progress through some automated process
(like clicking on a verification link sent through email). In either
case, the newly created user would be marked as inactive. Such a user
cannot log in to the site, as the ValidateUser(userName, password)
method will always return False, regardless of whether they entered
their correct credentials.
"

How can this default behavior be changed to "not approved" ?
Thanks much.
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top