public String getUserName() {
		if (dbType == DBType.file) {
			return null;
		}
		if (userinfo == null) {
			return ClientUtil.getUserName();
		}
		String username = userinfo;
		int pwdSep = userinfo.indexOf(':');
		if (pwdSep > 0) {
			username = userinfo.substring(0, pwdSep);
		}
		return username;
	}
Get the remote database user name to be used when establishing a connection.
User name obtained from the user information which was provided during instantiation.
@return remote database user information (null for {@link DBType#file}).
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimServerInfo.java