In the microflow retrieve the userroles associated to the $currentUser having attribute name having the value “administrator”.
Edit after Rom’s advice and having userroles DepotManager and Shipper:
Or try this module in the appstore: https://appstore.home.mendix.com/link/app/2948/Mendix/Google-Authenticator-Connector
Regards,
Ronald