Do we use modport of an interface when connecting to UVM test?

In reply to nikhil.n:

If you are using modports you have to perform set/get to the config_db regarding the modport name in the interface.