Пример #1
0
 public MembershipUser CreateUser(string username, string password, string email, string passwordQuestion,
                                  string passwordAnswer, bool isApproved, object providerUserKey,
                                  out MembershipCreateStatus status)
 {
     User user = _userMgr.CreateUser(username, password, email, 1, 1);
     var member = new COATMemebershipUser(user);
     status = MembershipCreateStatus.Success;
     return member;
 }
Пример #2
0
 protected void SetCurrentMemberShipUser()
 {
     _user = Membership.GetUser(true) as COATMemebershipUser;
 }