Edit user groups

Namespace: SynergyClientAPI.ContactsUsersAndGroups
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

Public Shared Function EditUserGroups( _ 
ByVal user_id As EntityID, _ 
ByVal groups_to_add As List(Of EntityID), _ 
ByVal groups_to_delete As List(Of EntityID), _ 
Optional ByVal wait As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse EditUserGroups( 
EntityID user_id
List<EntityID> groups_to_add
List<EntityID> groups_to_delete
IASyncWait wait = null 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ EditUserGroups( 
EntityID^ user_id
List<EntityID^>^ groups_to_add
List<EntityID^>^ groups_to_delete
IASyncWait^ wait 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

user_id
Type: EntityID

the id of the user to edit groups for

groups_to_add
Type: List<EntityID>

a set of groups to add

groups_to_delete
Type: List<EntityID>

a set of groups to delete

wait
Type: IASyncWait

an optional asynchronous waiter

Return Value

Type: OperationResponse

any operation response

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1