API:Datasnap.DSSession.TDSAuthSession.Authorize

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: TDSAuthSession

Delphi

function Authorize(EventObject: TDSAuthorizeEventObject): Boolean; override;

C++

virtual bool __fastcall Authorize(Datasnap::Dscommonserver::TDSAuthorizeEventObject* EventObject)/* overload */;

Description

Checks that the user of the current session has authorization for the given method.

Datasnap.DSSession.TDSAuthSession.Authorize inherits from Datasnap.DSSession.TDSSession.Authorize. All content below this line refers to Datasnap.DSSession.TDSSession.Authorize.

Checks that the user of the current session has authorization for the given method.

The Authorize virtual method is used to check that the user of the current session has authorization for the given method.

See Also