共用方式為


SPSite.GlobalPermMask property

NOTE: This API is now obsolete.

使用ApplicationRightsMask屬性來代替取得 Web 應用程式的權限遮罩。(在Windows SharePoint Services 2.0, GlobalPermMask屬性有不在虛擬伺服器全域使用的權限遮罩的權限)。

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

Syntax

'宣告
<ObsoleteAttribute("Use SPWebApplication.RightsMask instead")> _
Public ReadOnly Property GlobalPermMask As SPRights
    Get
'用途
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
SPRights 值所指定的權限。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace