Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Represents an access control list (ACL).
System.Object
Microsoft.SharePoint.Administration.SPAcl<T>
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPAcl(Of T) _
Implements IEnumerable(Of SPAce(Of T)), IEnumerable
'Usage
Dim instance As SPAcl(Of T)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPAcl<T> : IEnumerable<SPAce<T>>,
IEnumerable
The SPAcl class is designed for use with authenticated users, not anonymous users, even if you add IUSR_machine to the ACL. To make decisions about anonymous users, combine the ACL with the value of the AnonymousPolicy property for a specific zone (for example, myWebApplication.ZonePolicies(SPUrlZone.Intranet).AnonymousPolicy for the anonymous policy of the intranet zone).
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Please sign in to use this experience.
Sign in