Re: Is there a way to programatically set what user a function runs as
HÃ¥var Falck-Andersen
11-7-19
Hello David.

The idea is for someone to be able to do an action that they normally cannot perform. But as part of a workflow they may say for example ok an invoice which they normally can not.

User A have all rights

User B can only do a few things. (not ok invoice)

I want user B to be able to run a maintenance function that does several things and among them ok an invoice. This is stopped by the access system in Hansa now (something it was not before) - so my idea was to give change the privilege level of user B to user A when ok'ing the invoice and then switch back to B.

Thank you
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Carolina Valentino
are the activity set as Hansamanuals said? https://www.hansamanuals.com/main/mailnumber___62526/theconf___231/manuals/version___20250224/langcode___es/hwconvindex.htm?shortcode=HW0301SETTINGS_Order...
17:20 4 Apr 2025
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025