Datasnap.DSHTTPClient.TDSHTTP.IRequest.SetAuthentication

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Unit: Datasnap.DSHTTPClient
Parent: IRequest

Delphi

procedure SetAuthentication(const AUserName, APassword: string);

C++

virtual void __fastcall SetAuthentication(const System::UnicodeString AUserName, const System::UnicodeString APassword) = 0 ;

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.

See Also