共用方式為


SPList.Permissions property

NOTE: This API is now obsolete.

Use the RoleAssignments() property instead, to get the collection of role assignments for the list. For more information, see Changes in the Authorization Object Model. (In Windows SharePoint Services 2.0, the Permissions property returned the collection of permission objects that represented all the permissions for the list and is maintained for backward compatibility.)

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

Syntax

'宣告
<ObsoleteAttribute("Use the RoleAssignments property instead")> _
Public ReadOnly Property Permissions As SPPermissionCollection
    Get
'用途
Dim instance As SPList
Dim value As SPPermissionCollection

value = instance.Permissions
[ObsoleteAttribute("Use the RoleAssignments property instead")]
public SPPermissionCollection Permissions { get; }

Property value

Type: Microsoft.SharePoint.SPPermissionCollection
SPPermissionCollection 物件代表的權限。

備註

下表顯示套用至清單的權限,並提供簡要說明每個SPRights值。

描述

AddListItems

新增項目至清單、新增文件至文件庫,以及新增網頁討論註解。

CancelCheckout

存回文件而不儲存目前的變更 (僅適用於文件庫)。

DeleteListItems

刪除清單中的項目、文件庫中的文件以及文件中的網頁討論註解。

EditListItems

編輯清單中的項目、編輯文件庫中的文件、編輯文件中的網頁討論註解,以及自訂文件庫中的網頁組件頁面。

ManageListPermissions

授與、 拒絕或變更清單中的使用者權限。

ManageLists

核准清單中的內容、 新增或移除資料行的清單中,並新增或移除清單的公用檢視。

ManagePersonalViews

建立、變更並刪除清單的個人檢視。

ViewListItems

檢視清單、 文件庫中的文件中的項目、 檢視網頁討論註解,並設定清單的電子郵件提醒。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace