@Override
	public int compareTo(User other) {
		if (name == null) {
			if (other.name != null)
				return -1;
		}
		else if (other.name != null) {
			return 1;
		}
		int rc = name.compareTo(other.name);
		if (rc == 0) {
			return permission - other.permission;
		}
		return rc;
	}
Returns the permission value assigned this user.
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/remote/User.java