Поделиться через


SPReusableAcl Class

Represents an access control list (ACL) that is applied to a site collection, Web site, list, or list item.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPReusableAcl

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPReusableAcl

Dim instance As SPReusableAcl
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPReusableAcl

Remarks

An SPReusableAcl object is an opaque object that an application can use to return a Windows SharePoint Services object that represents an access control list. The SPReusableAcl object can be stored and passed back to Windows SharePoint Services for permission checks, and therefore, the object is considered "reusable."

Use the ReusableAcl property of the SPWeb, SPList, or SPListItem class to return the ACL for a Web site, list, or list item. For any class that implements the ISecurableObject interface, you can use the ReusableAcl property to return the ACL. To return the ACL for a site collection, use either the GetReusableAclForScope or GetAllReusableAcls method of the SPSite class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPReusableAcl Members

Microsoft.SharePoint Namespace