SPWebApplication.ApplicationPrincipalMaxRights property

Gets or sets the maximum rights that any application principal user will have in the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPBasePermissions ApplicationPrincipalMaxRights { get; set; }

Property value

Type: Microsoft.SharePoint.SPBasePermissions
The maximum set of rights.


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.