SharePoint 15 (vNext) will introduce yet another class: SPFileRightsManagementSettings. This class represents the Information Rights Management (IRM) settings for file downloads in Microsoft SharePoint Foundation. It will allow control of the following properties:
Name | Description |
AllowPrint | Gets or sets a value indicating whether the viewer can print the document. |
AllowScript | Gets or sets a value indicating whether the viewer can run script on downloaded document. |
AllowWriteCopy | Gets or sets a value indicating whether the viewer can write on a copy of the downloaded document. |
DocumentAccessExpireDays | Gets or sets the number of days before a downloaded document will expire. |
GroupName | Gets or sets the group name (email address) to which the permission applies. |
This will allow for further granularity on the access permissions of SPFiles. The ability to control what a user can do like printing, running scripts, or modifying a downloaded copy of the document will definitely be of value in the future. Also having the ability to expire a document at a specific time will aleviate the need for custom workflows to remove content on expiration.
More to come as I uncover new information on SharePoint 15. Stay tuned!