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

public void ImportRoleDefinitionBindings(
	SPRoleDefinitionBindingCollection roleDefinitionBindings


Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection

The role definition bindings that are imported.

This method sets the RoleDefinitionBindings property to the roleDefinitionBindings parameter.