Examples of disabledMainUser()


Examples of com.boco.bomc.vpn.service.MainUserService.disabledMainUser()

    int ret= 0;
    try {
      if (approve.equals("1")) {
        ret = service.enableMainUser(loginname);
      } else if (approve.equals("0")) {
        ret = service.disabledMainUser(loginname);
      }
    } catch (ServiceException e) {
      String json = "{\"status\":\"0\",\"message\":\"�����û�ʧ��!\",\"result\":\""+e.getMessage()+"\"}";
      return new TextRenderer(json);
    }
View Full Code Here

Examples of com.boco.bomc.vpn.service.MainUserServiceImpl.disabledMainUser()

    int ret= 0;
    try {
      if (approve.equals("1")) {
        ret = service.enableMainUser(loginname);
      } else if (approve.equals("0")) {
        ret = service.disabledMainUser(loginname);
      }
    } catch (ServiceException e) {
      String json = "{\"status\":\"0\",\"message\":\"�����û�ʧ��!\",\"result\":\""+e.getMessage()+"\"}";
      return new TextRenderer(json);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.