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.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPAccessRule
'Usage
Dim instance As SPAccessRule
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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