Share via


SPAccessRule class

A rule that describes the access rights of a subject.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.AccessControl.SPAccessRule
    Microsoft.SharePoint.Administration.AccessControl.SPAclAccessRule<TRightsEnum>

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAccessRule
'Usage
Dim instance As SPAccessRule
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPAccessRule

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

SPAccessRule members

Microsoft.SharePoint.Administration.AccessControl namespace