Sign in to follow this  
Followers 0
walter81

RunAsSet removed

3 posts in this topic

Hi

I just noticed that the RunAsSet() function has been removed. Why? The RunAs() and RunAsSet() are not equal to the RunAsSet function.

I've a few scripts that use it in order to run a few commands with higher privileges. That can not be replaced by the other 2 functions.

i'll have to revert back to an older version, it would be nice to put it back in.

Share this post


Link to post
Share on other sites



RunAs(), RunAsWait(), ShellExecute(), and ShellExecuteWait() are the new functions. You will have to convert your script an I'm sorry to say that you can run as another user with higher privileges than the user. There is also the #RequireAdmin tag.

Share this post


Link to post
Share on other sites

RunAs is exactly the same (if not better) than RunAsSet... Run.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0