Author: vikrant.kale | Posted on: 9/16/2008 2:27:08 AM | Views : 290

Hi, I am using Membership's CreateUserWizard control to create  new users. I dont use any explicit method to create user, rather I let Membership provider to handle it its way. Now what I want is the new user should not be enabled as soon as its created, but I want that first Site Admin approve the registration then only the user should be able to login. I am trying to set IsApproved = false when the user is created but has no effect.  
protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
Membership.GetUser(CreateUserWizard1.UserName).IsApproved = false;
} 
How can I do this any ideas? 
Note: I am not calling   
Membership.CreateUser("user", "pwd", Go to the complete details ...