Use a share with a different user (not the user from the machine)

Hello,

I would like for every unattended robot and for every process, the robot accesses the share with a different user from the one of the machine.
Meaning the robots at every process execution needs to access the share with a user dedicated (different from the machine user= for that process and at the end it needs to remover the access.

Anyone has a solution?