LoginHistory entity can be used to find whether users are using Data Loader.
The Application column/field in the LoginHistory entity will be one of the following when logged in from Data loader.
DataLoaderPartnerUI/
DataLoaderPartnerBatch/
DataLoaderBulkUI/
DataLoaderBulkBatch/
Note:
The Application column/field is not allowed in filter. So, export the data and do check it.
Sample SOQL:
SELECT UserId, LoginTime, Application, LoginType, APIType, APIVersion FROM LoginHistory
WHERE LoginTime = TODAY AND LoginType = ‘Partner Product’
WHERE LoginTime = TODAY AND LoginType = ‘Partner Product’
Output: