How to execute some action by second PDM user but not the user execute API

Hi Guys,

I want to call an exe program to execute some tasks from EPDM dispatch RMB, while some user lack right to execute some action like check out. Could I login PDM with a secondary account with full right (e.g admin) to execute these action? How to?

SolidworksApi macros