共用方式為


SPSite.GetAllReusableAcls method

Returns the reusable access control lists (ACLs) for the site collection.

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

Syntax

'宣告
Public Function GetAllReusableAcls As IDictionary(Of Guid, SPReusableAcl)
'用途
Dim instance As SPSite
Dim returnValue As IDictionary(Of Guid, SPReusableAcl)

returnValue = instance.GetAllReusableAcls()
public IDictionary<Guid, SPReusableAcl> GetAllReusableAcls()

傳回值

Type: System.Collections.Generic.IDictionary<Guid, SPReusableAcl>
網站集合的可重複使用 Acl 的集合。

Exceptions

Exception Condition
MaxAclExceeded

在系統中的 Acl 數目超過要求的限制。

備註

這個方法的上限為 10000 的項目。如果站台有 10000 個以上的 Acl,這個方法會擲回SPException例外狀況。

請參閱

參照

SPSite class

SPSite members

GetAllReusableAcls overload

Microsoft.SharePoint namespace