public void removeAllMembers() throws UMSException {
  SearchResults searchResults=getMemberIDs();
  while (searchResults.hasMoreElements()) {
    removeMember(searchResults.next());
  }
}

public void removeAllMembers ( ) throws UMSException { SearchResults searchResults = getMemberIDs ( ) ; while ( searchResults . hasMoreElements ( ) ) { removeMember ( searchResults . next ( ) ) ; } }
removes all members of the role .
