Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPAcl<T> class

Represents an access control list (ACL).

System.Object
  Microsoft.SharePoint.Administration.SPAcl<T>

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPAcl<T> : IEnumerable<SPAce<T>>, 
	IEnumerable

Type parameters

T

The type of the access control entry in the ACL.

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.
Show:
© 2015 Microsoft