CheckPermissions
Checks the effective permissions of a specified user or group on a SharePoint list or list item.
Input
| Name | Type | Required | Description |
| Principal | String | True | The login name of the user or group (e.g., 'i:0#.f|membership|[email protected]' or 'Group Name'). |
| ListName | String | True | The title of the SharePoint list (e.g., 'Documents'). |
| ItemId | Int | False | The ID of the list item to check permissions for. If not provided, the procedure checks permissions at the list level. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Boolean flag: true if permissions were retrieved successfully; false otherwise. |
| BasePermissions_High | Long | High-order 32-bit mask representing base permissions. |
| BasePermissions_Low | Long | Low-order 32-bit mask representing base permissions. |