Method UpdateGroup
UpdateGroup(String, GroupContract)
Update a group
Declaration
void UpdateGroup(string connectionId, GroupContract group)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
GroupContract | group | Group to update |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateGroup
Example{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"group": {
"UserIds": ["0100a003-38a7-11d8-a902-0050bf427e8f", "172935af-62e0-e911-a94a-00155d290a08",
"2cd4ad99-bacf-e911-a939-00155d290a08"],
"Name": "DemoGroupNew",
"Id": "b6aa9434-63e0-e911-a94a-00155d290a08",
"DisplayName": "DemoGroupNew",
"SID": "S-1-5-21-515967899-920026266-1708537768-1000" }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Group not found {groupId} (10092) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | ExternalUser must not be assigned to a group {0} (10372) |
ServiceException | Deleted user {userName} must be not assigned to a group (10381) |