Click or drag to resize

IOperationServiceClosePersonalSession Method

Closes personal session for the specified user or user defined by the credentials.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
bool ClosePersonalSession(
	ICredentials credentials,
	IUser user = null
)

Parameters

credentials  ICredentials
The credentials returned by AuthenticateByPin(String) method.
user  IUser  (Optional)
The user to close personal session for. Leave it null to close personal session for the user defined by the credentials.

Return Value

Boolean
Whether the operation was successful. Note that the method returns true even if personal session had already been closed.
See Also