SPAclAccessRule<TRightsEnum> constructor (IdentityReference, 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 ( _
    identityReference As IdentityReference, _
    allowedRights As TRightsEnum _
)
'Usage
Dim identityReference As IdentityReference
Dim allowedRights As TRightsEnum

Dim instance As New SPAclAccessRule(identityReference, _
    allowedRights)
public SPAclAccessRule(
    IdentityReference identityReference,
    TRightsEnum allowedRights
)

Parameters

  • allowedRights
    Type: TRightsEnum

    The rights allowed by the rule.

See also

Reference

SPAclAccessRule<TRightsEnum> class

SPAclAccessRule<TRightsEnum> members

SPAclAccessRule<TRightsEnum> overload

Microsoft.SharePoint.Administration.AccessControl namespace