public User[] getUserList(String currentUser) throws UserAccessException, IOException {
		synchronized (fileSystem) {
			validate();
			if (UserManager.ANONYMOUS_USERNAME.equals(currentUser)) {
				return new User[0];
			}
			validateReadPrivilege(currentUser);
			User[] users = new User[userMap.size()];
			int i = 0;
			for (User element : userMap.values()) {
				users[i++] = element;
			}
			return users;
		}
	}
Get the list of known users for this repository.
@param currentUser user that is requesting the user list.
@return array of repository users in the ACL 
@throws UserAccessException if currentUser is not a current repository admin
@throws IOException if an IO error occurs
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/Repository.java