EMS.Services.TEMSInternalAPI.UpdateUser
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
説明
フィールドを、EMS User から更新します。
UpdateUser は、EMS Server 内の指定された EMS User のコンテンツを、カスタム フィールドを追加、変更、削除などして更新します。
- 新しいカスタム フィールドを追加するには、カスタム「名前/値」ペアを TJSONObject に追加します。
- フィールドを削除するには、
null
値をそのペアの JSON オブジェクトに渡します。
{"description":null}
UpdateUser メソッドは、次のパラメータを受け取ります:
AObjectID
: EMS Server において EMS User を一意に識別する、EMS User 識別子。AUserFields
: EMS User のカスタム フィールドを持つ TJSONObject。
UpdateUser は、EMS Server からレスポンスを読み取るため、IEMSResourceResponseContent を返します。