I'm trying to do some importing in PL/SQL instead of using the command line impdp utility. The thing is, that the impdp utility takes EXCLUDE=grant whereas there seems to be no direct mapping of this functionality to to the DBMS_DATAPUMP api. I think such filtering is done via DBMS_DATAPUMP.metadata_filter.