SPWebApplication.ApplicationPrincipalMaxRights property
SharePoint 2013
Gets or sets the maximum rights that any application principal user will have in the Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
| Exception | Condition |
|---|---|
| SecurityException | The current user is not a farm administrator and the set accessor has been called. |
An application principal is an SPUser object that represents an external application, such as a Silverlight application. For more information about application principals, see How to: Enable an External Application Provider.
Only a farm administrator can set this property.