SPSite.ApplicationRightsMask property

Gets the rights mask for the parent Web application of the site collection.

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

public SPBasePermissions ApplicationRightsMask { get; }

Property value

Type: Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that specifies the rights mask for the Web application.

An administrator can use the RightsMask property of the SPWebApplication class to mask rights for all site collections in the Web application.