共用方式為


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public NotInheritable Class SPReusableAcl
'Usage
Dim instance As SPReusableAcl
public sealed class SPReusableAcl

Remarks

An SPReusableAcl object is an opaque object that an application can use to return a Microsoft SharePoint Foundation object that represents an access control list. The SPReusableAcl object can be stored and passed back to SharePoint Foundation 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