JDBC Connector - Display account as "Disabled"

I did find one way to handle this, and perhaps this is the best way, but I’m really not sure. I was able to write a buildmap rule where I interrogated the account coming back to look at the status of the account. If the status was equal to “disabled”, I set the faux schema attribute IIQDisabled = true on the map in the buildmap rule.

import sailpoint.connector.JDBCConnector;
import java.util.Map;

Map map = JDBCConnector.buildMapFromResultSet(result);
String accountState = map.get("accountState");
if (null != accountState && accountState.equalsIgnoreCase("disabled")){
     map.put("IIQDisabled",true);
}
return map;