共用方式為


SPList.AnonymousPermMask property

NOTE: This API is now obsolete.

已過時。取得或設定清單的匿名使用者的基本權限而使用AnonymousPermMask64屬性。(在Windows SharePoint Services 2.0, AnonymousPermMask屬性取得或設定清單的匿名使用者的權限。)

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

Syntax

'宣告
<ObsoleteAttribute("Use the AnonymousPermMask64 property instead")> _
Public Property AnonymousPermMask As SPRights
    Get
    Set
'用途
Dim instance As SPList
Dim value As SPRights

value = instance.AnonymousPermMask

instance.AnonymousPermMask = value
[ObsoleteAttribute("Use the AnonymousPermMask64 property instead")]
public SPRights AnonymousPermMask { get; set; }

Property value

Type: Microsoft.SharePoint.SPRights
會指定清單的權限SPRights值。

備註

AddListItems、 EditListItems、 ViewListItems、 OpenWeb及ViewPages權限套用至大部分清單 ; 匿名權限ViewListItems、 OpenWeb及ViewPages套用至文件庫的匿名權限。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace