GetAllReusableAcls Method (Int32)
Collapse the table of content
Expand the table of content

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)
Available in Sandboxed Solutions: No

public IDictionary<Guid, SPReusableAcl> GetAllReusableAcls(
	int 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.


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

© 2016 Microsoft