EMS.Services.TEMSInternalAPI.QueryUserName
Delphi
function QueryUserName(const AUserName: string; out AResponse: IEMSResourceResponseContent): Boolean; overload;
function QueryUserName(const AUserName: string): Boolean; overload;
C++
bool __fastcall QueryUserName(const System::UnicodeString AUserName, /* out */ _di_IEMSResourceResponseContent &AResponse)/* overload */;
bool __fastcall QueryUserName(const System::UnicodeString AUserName)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
説明
EMS ユーザー名と一致する EMS ユーザーを EMS サーバーから取得します。
QueryUserName では、EMS サーバーにクエリを発行して、指定された AUserName
に対応するデータを取得します。
QueryUserName メソッドは、次のようにオーバーロードされています。
- 第 1 のオーバーロード メソッドでは、
AUserName
を受け取って EMS ユーザー リソースへの Get クエリ要求を実行し、AResponse
を使用して EMS サーバーからの応答を返します。 - 第 2 のオーバーロード メソッドでは、
AUserName
を受け取り、第 1 のオーバーロード メソッドを呼び出します。
QueryUserName は、EMS ユーザーが見つからない場合、False
を返します。そうでない場合、QueryUserName は True
を返します。