| UpdateUserGroupAssignment | Scroll | 
REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/UpdateUserGroupAssignment
SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/UpdateUserGroupAssignment
Updates (adds/removes) assignments of the given user to the given Therefore groups.
Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/UpdateUserGroupAssignment
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â–¡ User | 
 | mandatory nillable | Sets user Id/Name. | 
| â–¡ Id | xs:int | nillable | Sets user/group id. Set one of the following: Id or (Name and DomainName). If the Id is set the Name and the DomainName parameters are ignored. | 
| â–¡ Name | xs:string | nillable | Sets exact name of the user/group. Set one of the following: (Name and DomainName) or Id. If the Id is set the Name and the DomainName parameters are ignored. | 
| â–¡ DomainName | xs:string | nillable | Sets domain name. Set one of the following: (DomainName and Name) or Id. For Therefore user/group set DomainName to ''. If the Id is set the Name and the DomainName parameters are ignored. | 
| â–¡ Assignments | 
 | mandatory nillable | Sets assignments to add/remove the user to/from Therefore groups. | 
| ≡ GroupAssignment | 
 | list nillable | |
| â–¡ ThereforeGroup | 
 | mandatory nillable | Sets Id/Name of Therefore group. | 
| â–¡ Id | xs:int | nillable | Sets id of Therefore user/group. Set one of the following: Id or Name. If the Id is set the Name parameter is ignored. | 
| â–¡ Name | xs:string | nillable | Sets exact name of the Therefore user/group. Set one of the following: Name or Id. If the Id is set the Name parameter is ignored. | 
| â– Remove | xs:boolean | 
 | Set to True to remove old member from the group. False (default) means adding a new member to the group. | 
Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/UpdateUserGroupAssignmentResponse
<Empty message>
Legend:
| â– | Not nillable element. | 
| â–¡ | Nillable element. | 
| ≡ | List of elements. | 
| Bold | Mandatory element. |