Add or/and remove company staff

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

Public Shared Function AddRemoveCompanyStaff( _ 
ByVal company_id As EntityID, _ 
ByVal added_staff As IEnumerable(Of ContactInfo), _ 
ByVal removed_staff As IEnumerable(Of ContactInfo), _ 
Optional ByVal wait As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse AddRemoveCompanyStaff( 
EntityID company_id
IEnumerable<ContactInfo> added_staff
IEnumerable<ContactInfo> removed_staff
IASyncWait wait = null 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ AddRemoveCompanyStaff( 
EntityID^ company_id
IEnumerable<ContactInfo^>^ added_staff
IEnumerable<ContactInfo^>^ removed_staff
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

company_id
Type: EntityID

<default>

added_staff
Type: IEnumerable<ContactInfo>

contact info for the staff to be added

removed_staff
Type: IEnumerable<ContactInfo>

contact info for the staff to be removed

wait
Type: IASyncWait

optional waiter to use

Return Value

Type: OperationResponse

Response object

.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