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.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
bool ClosePersonalSession(
	ICredentials credentials,
	IUser user = null
)

Parameters

credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
user (Optional)
Type: Resto.Front.Api.Data.SecurityIUser
The user to close personal session for. Leave it null to close personal session for the user defined by the credentials.

Return Value

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