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

'Declaration
Public Function GetAllReusableAcls As IDictionary(Of Guid, SPReusableAcl)
'Usage
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.

Exceptions

Exception Condition
MaxAclExceeded

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

Remarks

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

Reference

SPSite class

SPSite members

GetAllReusableAcls overload

Microsoft.SharePoint namespace