EMS.Services.TEMSInternalAPI.QueryUserName

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI

Description

Retrieves the EMS User from the EMS Server that matches an EMS user name.

QueryUserName queries the EMS Server to retrieve the data for a given AUserName.

The QueryUserName method is overloaded:

  • The first overloaded method receives the AUserName to execute a get query request to the EMS User resource, and uses the AResponse to return the response from the EMS Server.
  • The second overloaded method receives the AUserName and calls the first overloaded method.

QueryUserName returns False if the EMS User is Not found. Otherwise, QueryUserName returns True.

See Also