JDBC Driver for Microsoft SharePoint

Build 24.0.9062

AddRoleAssignment

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

Input

Name Type Description
RoleId Int The ID of the role definition that defines the permissions to assign.
PrincipalId Int The ID of the user or group to assign permissions to.
List String The internal name of the list to add the role assignment.
ItemId Int 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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062