Click or drag to resize

OwnerLoginAuthenticateWcfServiceValidateOwner Method

Use this method to validate the owner by the supplied rentalobjectno + password combination. If valid returns owner containing profileid, which should be used in all subsequent calls

Namespace:  Tse.EasyBook.Server.WcfContracts.WebClient
Assembly:  Tse.EasyBook.Server.WcfContracts (in Tse.EasyBook.Server.WcfContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public OwnerWeb ValidateOwner(
	OwnerAccessBaseCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContractsOwnerAccessBaseCriteria
Input criteria containing the rental object number and password of the owner.

Return Value

Type: OwnerWeb
Details about the owner and intermediation agreements.

Implements

IOwnerLoginAuthenticateWcfServiceValidateOwner(OwnerAccessBaseCriteria)
Exceptions
ExceptionCondition
FaultExceptionFault may contain the following values:

ErrorCode.Error: An unspecified error happened in the server

ErrorCode.InvalidRentalObjectNo: The provided rental object number is invalid

ErrorCode.OwnerAccessOwnerNotFound: The provided owner login details did not match any owners

See Also