EMS.Services.TEMSInternalAPI.UpdateUser
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: EMS.Services.pas EMS.Services.hpp
| |
Unit: EMS.Services | |
Parent: TEMSInternalAPI |
Delphi
function UpdateUser(const AObjectID: string;
const AUserFields: TJSONObject): IEMSResourceResponseContent; overload;
C++
_di_IEMSResourceResponseContent __fastcall UpdateUser(const System::UnicodeString AObjectID, System::Json::TJSONObject* const AUserFields)/* overload */;
Description
Updates the fields from an EMS User.
UpdateUser updates the content of a given EMS User in the EMS Server, adding, updating or deleting custom fields.
- To add a new custom field, add a custom name/value pair to the TJSONObject.
- To delete a field, pass a
null
value in the JSON object for that pair.
{"description":null}
The UpdateUser method receives the following parameters:
AObjectID
: EMS User identifier that uniquely identifies an EMS User in the EMS Server.AUserFields
: TJSONObject with the custom fields of an EMS User.
UpdateUser returns an IEMSResourceResponseContent to read the response from the EMS Server.