public ActionResult Move(string sAMAccountName, string NewOrganization) { try { if (!ADController.MoveUserToGroup(sAMAccountName, NewOrganization)) { throw new ArgumentException("移动用户到新租失败!"); } } catch (Exception ex) { throw new ArgumentException("移动用户到新组失败,错误信息:" + ex.Message); } return(Redirect("/Jurisdiction/Admin/UserList?IsActive=true")); }