Share via


SPRoleAssignment.ImportRoleDefinitionBindings method

Imports the specified role definition bindings into the collection of role definitions that are bound to the role assignment.

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

Syntax

'Declaration
Public Sub ImportRoleDefinitionBindings ( _
    roleDefinitionBindings As SPRoleDefinitionBindingCollection _
)
'Usage
Dim instance As SPRoleAssignment
Dim roleDefinitionBindings As SPRoleDefinitionBindingCollection

instance.ImportRoleDefinitionBindings(roleDefinitionBindings)
public void ImportRoleDefinitionBindings(
    SPRoleDefinitionBindingCollection roleDefinitionBindings
)

Parameters

Remarks

This method sets the RoleDefinitionBindings property to the roleDefinitionBindings parameter.

See also

Reference

SPRoleAssignment class

SPRoleAssignment members

Microsoft.SharePoint namespace