i have implemented custom MembershipProvider and now i would like to use CreateUserWizard to create new users.. the problem is that i want to store in the db more information that normally (e.g. first and last name).
有一个功能:
public override MembershipUser CreateUser(string username, string password, string email,
string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey,
out MembershipCreateStatus status)
{
throw new NotImplementedException();
}
我可以实现,但它不会存储名字等信息。
我在这里找到了一个解决方案:http://forums.asp.net/t/1496795.aspx,我可以重载此函数并手动调用它,但在这种情况下仍将调用默认的CreateUser函数...