EMS.Services.TEMSInternalAPI.SignupUser

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function SignupUser(const AUserName, APassword: string;  const AUserFields: TJSONObject): IEMSResourceResponseContent; overload;
function SignupUser(const AJSONBody: TJSONObject): IEMSResourceResponseContent; overload;

C++

_di_IEMSResourceResponseContent __fastcall SignupUser(const System::UnicodeString AUserName, const System::UnicodeString APassword, System::Json::TJSONObject* const AUserFields)/* overload */;
_di_IEMSResourceResponseContent __fastcall SignupUser(System::Json::TJSONObject* const AJSONBody)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI


説明

新しい EMS User を、EMS Server にサインアップさせます。

SignupUser メソッドは、オーバーロードされています。

  • 第 1 オーバーロード メソッドは、AUserNameAPassword、カスタム AUserFields(任意)を、TJSONObject に追加します。このメソッドは、第 2 オーバーロード SignupUser メソッドを、結果の TJSONObject で呼び出します。
  • 第 2 オーバーロード メソッドは、新しい EMS User を、EMS Server にサインアップさせます。AJSONBody には、EMS User データが TJSONObject として含まれています。EMS Username と Password のフィールドが必須です。


SignupUser は、リソースからレスポンスを読み取るため、IEMSResourceResponseContent を返します。 EMS Server からのレスポンスには、セッション識別子が含まれています。

関連項目