Examples of removeUser()


Examples of com.dbxml.db.common.security.AccessManagerClient.removeUser()

            throw new dbXMLException("Error obtaining answer");
         }
      }

      AccessManagerClient manager = new AccessManagerClient(cl.getClient());
      manager.removeUser(argument);
      pw.println("User '"+argument+"' removed");
   }
}

View Full Code Here

Examples of com.gitblit.models.TeamModel.removeUser()

            team.addUser(username);
            teams.put(team.name.toLowerCase(), team);
          } else {
            // do not clobber existing team definition
            // maybe because this is a federated user
            t.removeUser(username);
            t.addUser(model.username);
          }
        }

        // check for implicit team removal
View Full Code Here

Examples of com.gitblit.models.TeamModel.removeUser()

          // new team
          team.removeUser(username);
          teams.put(team.name.toLowerCase(), team);
        } else {
          // existing team
          t.removeUser(username);
        }
      }
      write();
      return true;
    } catch (Throwable t) {
View Full Code Here

Examples of com.gitblit.models.TeamModel.removeUser()

            team.addUser(username);
            teams.put(team.name.toLowerCase(), team);
          } else {
            // do not clobber existing team definition
            // maybe because this is a federated user
            t.removeUser(username);
            t.addUser(model.username);
          }
        }

        // check for implicit team removal
View Full Code Here

Examples of com.gitblit.models.TeamModel.removeUser()

          // new team
          team.removeUser(username);
          teams.put(team.name.toLowerCase(), team);
        } else {
          // existing team
          t.removeUser(username);
        }
      }
      write();
      return true;
    } catch (Throwable t) {
View Full Code Here

Examples of com.gitblit.models.TeamModel.removeUser()

                // new team member
                team.addUser(user.username);
                gitblit.updateTeamModel(teamname, team);
              } else if (!user.isTeamMember(teamname) && team.hasUser(user.username)) {
                // remove team member
                team.removeUser(user.username);
                gitblit.updateTeamModel(teamname, team);
              }

              // update team repositories
              TeamModel remoteTeam = user.getTeam(teamname);
View Full Code Here

Examples of com.imaginea.mongodb.services.SystemCollectionService.removeUser()

                                    @Context final HttpServletRequest request) {

        String response = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
            public Object execute() throws Exception {
                SystemCollectionService systemCollectionService = new SystemCollectionServiceImpl(connectionId);
                return systemCollectionService.removeUser(dbName, username);
            }
        });

        return response;
    }
View Full Code Here

Examples of com.imaginea.mongodb.services.impl.SystemCollectionServiceImpl.removeUser()

                                    @Context final HttpServletRequest request) {

        String response = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
            public Object execute() throws Exception {
                SystemCollectionService systemCollectionService = new SystemCollectionServiceImpl(connectionId);
                return systemCollectionService.removeUser(dbName, username);
            }
        });

        return response;
    }
View Full Code Here

Examples of com.m4f.business.domain.MediationService.removeUser()

      }
      if(form.getUser().getId() != null) { // Editing mode. Remove user from his mediationservice
        MediationService mediationService =
          this.serviceLocator.getMediatorService().getMediationServiceByUser(form.getUser().getId(), locale);
        if(mediationService != null) {
          mediationService.removeUser(form.getUser());
          this.serviceLocator.getMediatorService().save(mediationService, locale);
        }
      }
      form.getUser().setDeleted(Boolean.FALSE);
      this.serviceLocator.getUserService().save(form.getUser());
View Full Code Here

Examples of com.mongodb.DB.removeUser()

        new DbJob() {

            @Override
            public Object doRun() throws IOException {
                return db.removeUser(user);
            }

            @Override
            public String getNS() {
                return "system.users";
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.