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