This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to make an action from UIX under different user (for example "M-Files server")

Hello.

I would like to create some little script that runs by user (for example from context menu of object) and makes some actions that user have no rights for. I can not make it straight because all actions from UIX are executing under this user's rights. But may be there is some way to do it for example via "M-Files Server" user (as it happens when event handler executing)?

I could for example create a simple Vault App and call its function from UIX but may be there is an easier way?

Thank you!

Parents
  • The easiest way is to create a vault extension method and to call that from the UIX application. Any operations then performed by the vault extension method will be done with administrative permissions. 

    As an aside: this is also why you need to be careful about what you expose via vault extension methods, and careful about exactly what they do. 

Reply
  • The easiest way is to create a vault extension method and to call that from the UIX application. Any operations then performed by the vault extension method will be done with administrative permissions. 

    As an aside: this is also why you need to be careful about what you expose via vault extension methods, and careful about exactly what they do. 

Children