|
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.CustomersAssembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax No code example is currently available or this language may not be supported.
Parameters
- request ConnectCustomerAndUserRequest
- A request object that contains a customer number and a user ID.
Return Value
ConnectCustomerAndUserResponseA 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