共用方式為


SPAcl<T> class

代表存取控制清單 (ACL)。

Inheritance hierarchy

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

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPAcl(Of T) _
    Implements IEnumerable(Of SPAce(Of T)), IEnumerable
'用途
Dim instance As SPAcl(Of T)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPAcl<T> : IEnumerable<SPAce<T>>, 
    IEnumerable

Type parameters

  • T
    ACL 中存取控制項目類型。

備註

即使您在 acl 新增IUSR_machineSPAcl類別的設計與驗證的使用者,不匿名使用者,搭配使用。若要讓匿名使用者的決定,結合 ACL 與特定區域 (例如, myWebApplication.ZonePolicies(SPUrlZone.Intranet).AnonymousPolicy匿名原則的內部網路區域) AnonymousPolicy屬性的值。

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.

請參閱

參照

SPAcl<T> members

Microsoft.SharePoint.Administration namespace