Datasnap.DSHTTPClient.TDSHTTP.IRequest.SetAuthentication
Delphi
procedure SetAuthentication(const AUserName, APassword: string);
C++
virtual void __fastcall SetAuthentication(const System::UnicodeString AUserName, const System::UnicodeString APassword) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | IRequest |
Description
Sets the user name and the password for the HTTP request.
AUserName
specifies the user name and APassword
specifies the password. These parameters can be used for the establishment of the credentials in the authentication process.