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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

instance.ImportRoleDefinitionBindings(roleDefinitionBindings)
[ClientCallableAttribute]
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