共用方式為


SPAce<T> Class

Represents an access control entry in an access control list (ACL).

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPAce(Of T)
'Usage
Dim instance As SPAce(Of T)
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPAce<T>

Type Parameters

  • T
    The type of an access control entry.

Remarks

The SPAce 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).

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

SPAce<T> Members

Microsoft.SharePoint.Administration Namespace