Example #1
0
 public static bool TryCreateUser(User newUser, out string error)
 {
     return TryCreateUser(newUser.UserName,newUser.GetPassword(),newUser.Email,out error);
 }
Example #2
0
 public static void UpdateUser(User usr)
 {
     Membership.UpdateUser(usr.providerUser);
 }
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     _user = DataContext as User;
     if (_user == null)
         throw new MissingMemberException("UserChangePassword - No existe un usuario asociado al control!");
 }