Wise Script command to get info "Is the Current User local Admin?
I would like to create an install package using WISE SCRIPT EDITOR, and I'm looking for the simplier and more reliable way to check if the current user (running this package) is really Administrator of the computer.
There is any information I can get from Registry ? environment variable ?
I can create a logic like > get the result of this command line "net localgroup Administrators" check if the current user is listed.
But I'm sure there is a better way to handle that.
Use Check Configuration action to check if user has NT administrator rights