Ejemplo n.º 1
0
 public CustomMembershipUser(string providerName, Business.UserDataService userData)
     : base(providerName, userData.UserName, null, userData.Email, userData.PasswordQuestion, userData.Comments,
            userData.IsApproved, userData.IsLockedOut, userData.CreatedDate, userData.LastLoginDate,
            userData.LastActivityDate, userData.LastPasswordChangedDate, userData.LastLockoutDate)
 {
     _userData = userData;
 }
Ejemplo n.º 2
0
 public CustomMembershipUser(Business.UserDataService userData)
     : base(System.Web.Security.Membership.Provider.Name,
            userData.UserName, userData.UserName, userData.Email, userData.PasswordQuestion, userData.Comments,
            userData.IsApproved, userData.IsLockedOut, userData.CreatedDate, userData.LastLoginDate,
            userData.LastActivityDate, userData.LastPasswordChangedDate, userData.LastLockoutDate)
 {
     _userData = userData;
 }
Ejemplo n.º 3
0
        public CustomMembershipUser(Model.UserData userData)
            : base(System.Web.Security.Membership.Provider.Name,
                   userData.UserName, userData.UserName, userData.Email, userData.PasswordQuestion, userData.Comments,
                   userData.IsApproved, userData.IsLockedOut, userData.CreatedDate, userData.LastLoginDate,
                   userData.LastActivityDate, userData.LastPasswordChangedDate, userData.LastLockoutDate)
        {
            DataAccess.IUserDao      userDao     = new DataAccess.SQLSupport.UserDataDao();
            Business.UserDataService userService = new UserDataService(System.Web.HttpContext.Current.User.Identity.Name,
                                                                       userData, userDao, new Model.SystemProperties());


            _userData = userService;
        }