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
roleDefinitionBindings
Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollectionThe role definition bindings that are imported.
Remarks
This method sets the RoleDefinitionBindings property to the roleDefinitionBindings parameter.