Click or drag to resize
Infosoft Logo

ICustomerUserMappingServiceConnectCustomerAndUser Method

Connects the given customer and user. A user may only be connected to one customer, and vice versa.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Customers
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax

Parameters

request  ConnectCustomerAndUserRequest
A request object that contains a customer number and a user ID.

Return Value

ConnectCustomerAndUserResponse
A response object that contains a value indicating whether a connection was added.
Remarks
This operation throws a fault if the customer number or user ID weren't found in the database, or if they were both found, but one or both of them was already connected to a different user/customer. If the link to be created already exists, false will be returned.
See Also