Share via


SPAclSecurity<TAccessRightsEnum> constructor

Initializes a new instance of the [SPAclSecurity] class.

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

Syntax

'Declaration
Public Sub New ( _
    namedAccessRights As SPNamedAclRights(Of TAccessRightsEnum)(), _
    acl As SPAcl(Of TAccessRightsEnum) _
)
'Usage
Dim namedAccessRights As SPNamedAclRights(Of TAccessRightsEnum)()
Dim acl As SPAcl(Of TAccessRightsEnum)

Dim instance As New SPAclSecurity(namedAccessRights, _
    acl)
public SPAclSecurity(
    SPNamedAclRights<TAccessRightsEnum>[] namedAccessRights,
    SPAcl<TAccessRightsEnum> acl
)

Parameters

  • namedAccessRights
    Type: []

    Descriptions of the named access rights supported by this security object.

See also

Reference

SPAclSecurity<TAccessRightsEnum> class

SPAclSecurity<TAccessRightsEnum> members

Microsoft.SharePoint.Administration.AccessControl namespace