Code Assist MCP for Microsoft SharePoint

Build 25.0.9539

UpdateRole

Update a role in your SharePoint site collection.

Stored Procedure-Specific Information

The UpdateRole stored procedure modifies the properties of an existing SharePoint role (permission level). You can update the role's name, description, and permissions.

To update a role's description, enter:

EXEC UpdateRole Name = 'Custom Role', Description = 'Updated role description';

To rename a role and update its permissions, enter:

EXEC UpdateRole Name = 'Old Role Name', NewName = 'New Role Name', Description = 'Updated description', Permissions = '1073741927';

Input

Name Type Required Description
Name String True The current name of the role.
NewName String False The new name of the role.
Description String False The description of the role.
Permissions String False The mask of permissions to grant to the role. To learn more about permission masks, check out the 'Permission Masks' section in Permissions.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the role was successfully updated. Returns 'true' for success and 'false' for failure.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539