Examples of enableMainUser()


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

   
    MainUserService service = new MainUserServiceImpl();
    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()+"\"}";
View Full Code Here

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

   
    MainUserService service = new MainUserServiceImpl();
    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()+"\"}";
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.