Datasnap.DSSession.TDSTunnelService.NeedsAuthentication

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSTunnelService

Delphi

function NeedsAuthentication(Params: TStrings): Boolean;

C++

bool __fastcall NeedsAuthentication(System::Classes::TStrings* Params);

Description

Returns True if the request needs authentication.

The NeedsAuthentication method returns True if the request parameters provide an username and a password, and False otherwise.

See Also