Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the reusable access control lists (ACLs) for the site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)> _
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetAllReusableAcls As IDictionary(Of Guid, SPReusableAcl)
'Usage
Dim instance As SPSite
Dim returnValue As IDictionary(Of Guid, SPReusableAcl)
returnValue = instance.GetAllReusableAcls()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)]
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
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.