SPRoleDefinition constructor (SPRoleDefinition)

Initializes a new instance of the SPRoleDefinition class by copying the permissions of another role definition.

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

Syntax

'Declaration
Public Sub New ( _
    def As SPRoleDefinition _
)
'Usage
Dim def As SPRoleDefinition

Dim instance As New SPRoleDefinition(def)
public SPRoleDefinition(
    SPRoleDefinition def
)

Parameters

See also

Reference

SPRoleDefinition class

SPRoleDefinition members

SPRoleDefinition overload

Microsoft.SharePoint namespace