共用方式為


SPReusableAcl class

表示存取控制清單 (ACL) 套用至網站集合、 網站、 清單或清單項目。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPReusableAcl

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

Syntax

'宣告
Public NotInheritable Class SPReusableAcl
'用途
Dim instance As SPReusableAcl
public sealed class SPReusableAcl

備註

SPReusableAcl物件是應用程式可用來傳回表示存取控制清單的Microsoft SharePoint Foundation物件的不透明物件。SPReusableAcl物件可以儲存,並傳回給SharePoint Foundation的使用權限檢查,因此,物件會被視為 「 重複使用 」。

您可以使用SPWebSPListSPListItem類別的ReusableAcl屬性,傳回的 ACL 的網站、 清單或清單項目。任何實作ISecurableObject介面的類別,您可以使用ReusableAcl屬性來傳回 ACL。若要返回網站集合的 ACL,使用的GetReusableAclForScopeGetAllReusableAclsSPSite類別的方法。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPReusableAcl members

Microsoft.SharePoint namespace