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
Hi there, Server – tried both Windows Server 2022 and Linux Version - 2025-08-11 and 2026-05-25 We were testing a new version (2025-08-11) with a Halcust that we had migrated from the existing ...
10:11 4 Aug 2026
Kevin Stepper
Hi, years ago we used to have the email and conference module. Did not need it so we dropped it. We hav recently implemented global users, which are all named users and therefor seem to need a m...
18:07 3 Aug 2026