REST.Backend.EMSApi.TEMSClientAPI.LogoutUser

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LogoutUser;

C++

void __fastcall LogoutUser();

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Backend.EMSApi.pas
REST.Backend.EMSApi.hpp
REST.Backend.EMSApi TEMSClientAPI

Description

Logs out of the EMS server.

When you log out of the EMS server, the EMS server invalidates the authentication data that you obtain when you log in. You can no longer use the invalidated authentication data in future requests.

Exceptions

Exception Message Description

EEMSClientAPIError

MasterSecret required

Authentication is TAuthentication.MasterSecret and ConnectionInfo.MasterSecret is an empty string.

Session token required

Authentication is TAuthentication.Session and you did not log in or the session authentication token that you provided to Login is an empty string.

See Also