new scripting variable KACE_RUN_AS
Along with the existing $(KACE...) variables that can be used in scripting, I'd like a new one that indicates the Run As: state of the script, using the four possible states:
Run As Local System
Run As User logged in to console
Run As All Logged in Users
Run As User: ______________
Maybe something like this:
$(KACERUNAS) = System
$(KACERUNAS) = CurrentUser
$(KACERUNAS) = LoggedInUsers
$(KACERUNAS) = User ___________
I would love to see this implemented.
Another way to do this might be to enable different permissions to every action of a script.