EMS.Services.TEMSInternalAPI.SignupUser
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 オーバーロード メソッドは、
AUserName
、APassword
、カスタムAUserFields
(任意)を、TJSONObject に追加します。このメソッドは、第 2 オーバーロード SignupUser メソッドを、結果の TJSONObject で呼び出します。 - 第 2 オーバーロード メソッドは、新しい EMS User を、EMS Server にサインアップさせます。
AJSONBody
には、EMS User データが TJSONObject として含まれています。EMS Username と Password のフィールドが必須です。
SignupUser は、リソースからレスポンスを読み取るため、IEMSResourceResponseContent を返します。 EMS Server からのレスポンスには、セッション識別子が含まれています。