I am attempting to run an EPDM add-in as another user. In my situation, I do not want to grant users the rights to rename files at a particular state. Instead, I'd like them to use an add-in to rename the files.
My first thought was to setup a task and have it run as a particular user. This seems to work, but isn't nearly as fast as a standard add-in.
My next thought was to have the add-in push the file to another state in which the user would have permissions to rename the file and then push it back to the original state. This would work, but seems like more work than necessary.
Ideally, I'd like the add-in to "grant" the user permissions to rename the file. After looking through the API, it doesn't appear that you can change user permissions to a state. I see that you can login to another vault as a user, but this doesn't help either.
Does anyone know of a way to run a particular task as a different user? I have a "Rename" user setup that has permissions to rename a file. I'd like to execute the rename command as this user. I'm open to any other suggestions as well.
Thanks for your time.