SSIS Components for Microsoft SharePoint

Build 24.0.9175

AddRoleAssignment

Adds a new role assignment with the specified principal and role definitions to the list, or list item.

Input

Name Type Required Description
RoleId Int True The ID of the role definition that defines the permissions to assign.
PrincipalId Int True The ID of the user or group to assign permissions to.
List String True The internal name of the list to add the role assignment.
ItemId Int False The list item id to add the role assignment.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
ErrorCode Integer The error code in case the procedure is not executed successfully.
ErrorMessage String The error message in case the procedure is not executed successfully.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175