UpdateGroup
SharePoint サイトコレクション内のグループを更新します。
Stored Procedure-Specific Information
The UpdateGroup stored procedure modifies the properties of an existing SharePoint group. You can update the group's description, owner, and other settings.To update a group's description and owner, enter:
EXEC UpdateGroup Name = 'Test Group', Description = 'Updated group description', OwnerName = 'Site Owners', OwnerType = 'group';
The OwnerType parameter can be set to 'group' or 'user' depending on the type of owner being assigned.
Input
| Name | Type | Required | Description |
| Name | String | True | グループの現在の名前。 |
| NewName | String | False | グループの新しい名前。 |
| Description | String | True | グループの説明。 |
| OwnerName | String | True | グループの所有者にするユーザーまたはグループのログイン名/名前。 |
| OwnerType | String | True | グループの所有者の種類。
使用できる値は次のとおりです。user, group |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | グループが正常に更新されたかどうかを示します。成功の場合は'true'、失敗の場合は'false' を返します。 |