SharePoint Permission

Adds a SharePointPermission to the project. Represents a custom permission that controls the ability to access Microsoft SharePoint Products and Technologies.

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
Impersonate Optional Boolean. Defines whether impersonation is allowed.
Object Model Optional Boolean. Defines whether use of the SharePoint object model is allowed.
Unsafe Save On Get Optional Boolean. Defines whether saving to the Microsoft SharePoint Products and Technologies database is allowed during an HTTP-GET request.
Unrestricted Required Boolean. If Unrestricted is true, all other permissions will be ignored.

Authors

  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe