Environment Permission

Adds a EnivronmentPermission to the project. Controls access to system and user environment variables.

Recipe Description

The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.

Arguments

Name Description
Read Optional text. Only read access to environment variables is specified. Changing, deleting and creating environment variables is not included in this access level.
Write Optional text. Only write access to environment variables is specified. Write access includes creating and deleting environment variables as well as changing existing values. Reading environment variables is not included in this access level.
All Access Optional text. Read and Write access to environment variables.
No Access Optional text. No access to environment variables.
Unrestricted Optional Boolean. If Unrestricted is true, the other settings will be ignored.

Authors

  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe