wrights:HasAdminRole |
Finds out if the script is being run with the Run As Administrator option or not. Returns a boolean. Syntax
Example To prevent a deploy script from being run otherwise than with the Run As Administrator option, add the following directive at the top of the script:
|