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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property ApplicationRightsMask As SPBasePermissions
    Get
'Usage
Dim instance As SPSite
Dim value As SPBasePermissions

value = instance.ApplicationRightsMask
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPBasePermissions ApplicationRightsMask { get; }

Property Value

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

Remarks

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

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace