SPWebApplication.RightsMask property
SharePoint 2013
Gets or sets the rights mask of the Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPBasePermissionsAn SPBasePermissions object that specifies the rights mask of the Web application.