@Override
	public User getUser() {
		if (repository != null) {
			try {
				return repository.getUser();
			}
			catch (IOException e) {
				return new User(SystemUtilities.getUserName(), User.READ_ONLY);
			}
		}
		return null;
	}
Determine if the specified project location currently has a write lock.
@param locator project storage locator
@return true if project data current has write-lock else false
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DefaultProjectData.java