I implemented the ExtendedMembershipProvider. I have the Register Action in the Account controller that has a WebSecurity.CreateUserandAccount(model.UserName,model.Password,etc....) Is there anyone here who knows how to implement the CreateUserAndAccount
method? I want to save the users that will register to the Users_table in my Database. THANKS!
here it is :
public class CustomMembershipProvider : ExtendedMembershipProvider
{
GwdContainer Context = new GwdContainer();
public override bool ConfirmAccount(string accountConfirmationToken)
{
throw new NotImplementedException();
}
public override bool ConfirmAccount(string userName, string accountConfirmationToken)
{
throw new NotImplementedException();
}
public override string CreateAccount(string userName, string password, bool requireConfirmationToken)
{
throw new NotImplementedException();
}
/ ...
Go to the complete details ...