SPSite.GetAllReusableAcls method

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

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


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()

Return value

Type: System.Collections.Generic.IDictionary<Guid, SPReusableAcl>
A collection of the reusable ACLs of the site collection.


Exception Condition

The number of ACLs in the system exceeds the requested limit.


This method has a limit of 10,000 items. If there are more than 10,000 ACLs on the site, this method throws a SPException exception.

See also


SPSite class

SPSite members

GetAllReusableAcls overload

Microsoft.SharePoint namespace