UserModifyRole.js 341 B

1234
  1. function User_ModifyRole_Save() {
  2. var selectedRoles = $("input[name='RoleList']:checked").map(function (index, elem) { return $(elem).val(); }).get().join(',');
  3. $.post(CMS_SystemConfig.VirtualDirectoryPath + '/User/SaveRoles', { userID: $.SystemGeneral.getUrlParam("UserID"), roleIDs: selectedRoles }, EMISFunction.FormSuccess);
  4. }