EMS.Services.TEMSInternalAPI.RetrieveUser

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.Services.pas
EMS.Services.hpp
Unit: EMS.Services
Parent: TEMSInternalAPI

Delphi

function RetrieveUser(const AObjectID: string; out AResponse: IEMSResourceResponseContent): Boolean;

C++

bool __fastcall RetrieveUser(const System::UnicodeString AObjectID, /* out */ _di_IEMSResourceResponseContent &AResponse);

Description

Retrieves the field data for the specified EMS User.

RetrieveUser gets the field data for the AObjectID (EMS User identifier) from the EMS Server. RetrieveUser puts the response from the resource in the AResponse parameter.

The RetrieveUser method returns False if the response request status code is 404 (the EMS User is Not found). Otherwise, RetrieveGroup returns True.

See Also