SPAclAccessRule<TRightsEnum> constructor (SPClaim, TRightsEnum)

Initializes a new instance of the [SPAclAccessRule] class.

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

Syntax

'Declaration
Public Sub New ( _
    claim As SPClaim, _
    allowedRights As TRightsEnum _
)
'Usage
Dim claim As SPClaim
Dim allowedRights As TRightsEnum

Dim instance As New SPAclAccessRule(claim, allowedRights)
public SPAclAccessRule(
    SPClaim claim,
    TRightsEnum allowedRights
)

Parameters

  • allowedRights
    Type: TRightsEnum

    The rights granted to the principal.

See also

Reference

SPAclAccessRule<TRightsEnum> class

SPAclAccessRule<TRightsEnum> members

SPAclAccessRule<TRightsEnum> overload

Microsoft.SharePoint.Administration.AccessControl namespace