Share via


SPAclAccessRule<TRightsEnum> class

A rule that describes the access rights of a Windows identity to a service application.

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 NotInheritable Class SPAclAccessRule(Of TRightsEnum As {Structure, New}) _
    Inherits SPAccessRule
'Usage
Dim instance As SPAclAccessRule(Of TRightsEnum)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPAclAccessRule<TRightsEnum> : SPAccessRule
where TRightsEnum : struct, new()

Type parameters

  • TRightsEnum
    The type of the rights that are enumerated.

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

SPAclAccessRule<TRightsEnum> members

Microsoft.SharePoint.Administration.AccessControl namespace