<p>deleteUser.</p>

@param name a {@link java.lang.String} object.
@return a boolean.
342673
public boolean deleteUser(String name)
	{
		if (ADMIN_USER_ID.equals(name))
		{
			throw new SystemException(String.format("Cannot delete '%s' user.", ADMIN_USER_ID));
		}

		if (!isUserExist(name))
		{
			throw new SystemException(String.format("User '%s' does not exist.", name));
		}

		allAssociations.remove(name);

		return allUsers.remove(name);
	}
103970
public Term removeTerm(String name) {
        Iterator<Term> it = this.terms.iterator();
        while (it.hasNext()) {
            Term term = it.next();
            if (term.getName().equals(name)) {
                it.remove();
                return term;
            }
        }
        return null;
    }
82397
public boolean removeBusHalt(String name) {
		Iterator<BusItineraryHalt> iterator = this.validHalts.iterator();
		BusItineraryHalt bushalt;
		int i = 0;
		while (iterator.hasNext()) {
			bushalt = iterator.next();
			if (name.equals(bushalt.getName())) {
				return removeBusHalt(i);
			}
			++i;
		}

		iterator = this.invalidHalts.iterator();
		i = 0;
		while (iterator.hasNext()) {
			bushalt = iterator.next();
			if (name.equals(bushalt.getName())) {
				return removeBusHalt(i);
			}
			++i;
		}

		return false;
	}
125987
private void onRemove(final String name) {
        Feedback.confirm(Console.MESSAGES.deleteTitle(title),
                Console.MESSAGES.deleteConfirm(title + " '" + name + "'"),
                isConfirmed -> {
                    if (isConfirmed) {
                        circuit.dispatch(new DeleteConfig(addressTemplate, name));
                    }
                });
    }
976340
public MockResponse removeHeader(String name) {
        name += ":";
        for (Iterator<String> i = headers.iterator(); i.hasNext(); ) {
            String header = i.next();
            if (name.regionMatches(true, 0, header, 0, name.length())) {
                i.remove();
            }
        }
        return this;
    }
481636
public User get(String name) {

        User user = (User) userList.get(name);

        if (user == null) {
            throw Error.error(ErrorCode.X_28501, name);
        }

        return user;
    }
568667
public boolean deleteWatcher(String name, Watcher watcher){
        if(LOGGER.isTraceEnabled()){
            LOGGER.trace("Delete a watcher, name={}", name);
        }
        synchronized(watchers){

            if (watchers.containsKey(name)) {
                return watchers.get(name).remove(watcher);
            }
        }
        return false;
    }
1282974
public void delete(String name) throws IOException {
        if (name.equalsIgnoreCase(QUALIFIERS)) {
            policyQualifiers = Collections.emptySet();
        } else if (name.equalsIgnoreCase(ID)) {
            throw new IOException("Attribute ID may not be deleted from " +
                "PolicyInformation.");
        } else {
            //ID may not be deleted
            throw new IOException("Attribute name [" + name +
                "] not recognized by PolicyInformation.");
        }
    }
58859
public boolean containsName(final String name) {
        for (final T i : this) {
            if (i.getName().equals(name)) {
                return true;
            }
        }
        return false;
    }
358066
@RequestMapping(value = "configurations/{name:.*}", method = RequestMethod.DELETE)
    @ResponseStatus(HttpStatus.NO_CONTENT)
    public Ack deleteConfiguration(@PathVariable String name) {
        svnConfigurationService.deleteConfiguration(name);
        return Ack.OK;
    }
477402
public Object remove(String name) {
		ThreadScopeContext context = ThreadScopeContextHolder.getContext();
		return context.remove(name);
	}
485941
public boolean removeBusHub(String name) {
		Iterator<BusHub> iterator;
		BusHub busHub;

		iterator = this.validBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				busHub.setEventFirable(true);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		iterator = this.invalidBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		return false;
	}
879798
public void delete(String name) throws IOException {
        if (name.equalsIgnoreCase(DIGITAL_SIGNATURE)) {
            set(0,false);
        } else if (name.equalsIgnoreCase(NON_REPUDIATION)) {
            set(1,false);
        } else if (name.equalsIgnoreCase(KEY_ENCIPHERMENT)) {
            set(2,false);
        } else if (name.equalsIgnoreCase(DATA_ENCIPHERMENT)) {
            set(3,false);
        } else if (name.equalsIgnoreCase(KEY_AGREEMENT)) {
            set(4,false);
        } else if (name.equalsIgnoreCase(KEY_CERTSIGN)) {
            set(5,false);
        } else if (name.equalsIgnoreCase(CRL_SIGN)) {
            set(6,false);
        } else if (name.equalsIgnoreCase(ENCIPHER_ONLY)) {
            set(7,false);
        } else if (name.equalsIgnoreCase(DECIPHER_ONLY)) {
            set(8,false);
        } else {
          throw new IOException("Attribute name not recognized by"
                                + " CertAttrSet:KeyUsage.");
        }
        encodeThis();
    }
438844
public T removeHeader(String name) {
		if(name != null) {
			headers.remove(name.trim());
		}
		return (T)this;
	}
1015867
public DeletePresetResponse deletePreset(String name) {
        DeletePresetRequest request = new DeletePresetRequest();
        request.setName(name);
        return deletePreset(request);
    }
1186659
public boolean delete(String name, boolean bankAccount) {
        boolean result = false;
        if (exist(name, bankAccount)) {
            result = Common.getInstance().getStorageHandler().getStorageEngine().deleteAccount(name, bankAccount);
            if (bankAccount) {
                bankList.remove(name);
            } else {
                accountList.remove(name);
            }
        }
        return result;
    }
417758
public String remove(String name)
    {
        String old=null;
        FieldInfo info=getFieldInfo(name);
        Field field=getField(info,true);

        if (field!=null)
        {
            old=field._value;
            while(field!=null)
            {
                field.clear();
                field=field._next;
            }
        }
        
        return old;
    }