Click or drag to resize

IOperationServiceGetUser Method

Get user corresponding to specified credentials.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IUser GetUser(
	ICredentials credentials
)

Parameters

credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.

Return Value

Type: IUser
User whose pin has been used to authenticate current plugin.
Exceptions
ExceptionCondition
UserSessionInvalidExceptionUsed credentials doesn't correspond to valid user session.
See Also