Share via


SPSite.GlobalPermMask property

NOTE: This API is now obsolete.

Use the ApplicationRightsMask property to get the rights mask for the Web application instead. (In Windows SharePoint Services 2.0, the GlobalPermMask property got the rights for the permissions mask that was used globally on the virtual server.)

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication.RightsMask instead")> _
Public ReadOnly Property GlobalPermMask As SPRights
    Get
'Usage
Dim instance As SPSite
Dim value As SPRights

value = instance.GlobalPermMask
[ObsoleteAttribute("Use SPWebApplication.RightsMask instead")]
public SPRights GlobalPermMask { get; }

Property value

Type: Microsoft.SharePoint.SPRights
An SPRights value that specifies the rights.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace