UpdateRole
SharePoint サイトコレクション内のロールを更新します。
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 | ロールの現在の名前。 |
| NewName | String | False | ロールの新しい名前。 |
| Description | String | False | ロールの説明。 |
| Permissions | String | False | ロールに付与する権限のマスク。権限マスクの詳細については、Permissions の「権限マスク」セクションを参照してください。 |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | ロールが正常に更新されたかどうかを示します。成功の場合は'true'、失敗の場合は'false' を返します。 |