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