REST.Backend.EMSServices.TEMSGroupsAPI.FindGroup
Delphi
function FindGroup(const AObject: TBackendEntityValue; AProc: TFindObjectProc): Boolean;
C++
bool __fastcall FindGroup(const Rest::Backend::Metatypes::TBackendEntityValue &AObject, Rest::Backend::Servicetypes::_di_TFindObjectProc AProc);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | protected | REST.Backend.EMSServices.pas REST.Backend.EMSServices.hpp | REST.Backend.EMSServices | TEMSGroupsAPI | 
Description
Requests the information of the specified group from the EMS server and returns True if it receives the information successfully or False otherwise.
To handle the received information, you must provide a procedure of type TFindObjectProc (AProc). FindGroup calls your procedure and provides the received group data both as an instance of TBackendEntityValue (first argument) and as an instance of TJSONObject (second argument).
Exceptions
| Exception | Message | Description | 
|---|---|---|
| Group name required | 
 |