SPSite.GetAllReusableAcls method (Int32)

Returns the reusable access control lists (ACLs) of the site collection up to a specified limit.

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


Public Function GetAllReusableAcls ( _
    maximumNumberToFetch As Integer _
) As IDictionary(Of Guid, SPReusableAcl)
Dim instance As SPSite
Dim maximumNumberToFetch As Integer
Dim returnValue As IDictionary(Of Guid, SPReusableAcl)

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


  • maximumNumberToFetch
    Type: System.Int32

    A 32-bit integer that specifies the maximum number of ACLs to return. If the number of unique ACLs in the site collection exceeds the value specified by maximumNumberToFetch, nothing is returned.

Return value

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


Exception Condition

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

See also


SPSite class

SPSite members

GetAllReusableAcls overload

Microsoft.SharePoint namespace