Share via


SPNamedAclRights<TRightsEnum> constructor

Initializes a new instance of the SPNamedAclRights<TRightsEnum> class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    rights As TRightsEnum _
)
'Usage
Dim name As String
Dim rights As TRightsEnum

Dim instance As New SPNamedAclRights(name, rights)
public SPNamedAclRights(
    string name,
    TRightsEnum rights
)

Parameters

  • name
    Type: System.String

    The name of the access rights that can be applied to a securable object.

  • rights
    Type: TRightsEnum

    The access rights that can be applied to a securable object.

See also

Reference

SPNamedAclRights<TRightsEnum> class

SPNamedAclRights<TRightsEnum> members

Microsoft.SharePoint.Administration.AccessControl namespace