Export (0) Print
Expand All

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 IDictionary<Guid, SPReusableAcl> GetAllReusableAcls(
	int maximumNumberToFetch
)

Parameters

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.

ExceptionCondition
MaxAclExceeded()

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

Show:
© 2014 Microsoft