RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebDisp.TPageAccessDeniedEvent Type

TPageAccessDeniedEvent is the type for event handlers that respond when a page dispatcher determines that the current user can't access the current page.

Pascal
TPageAccessDeniedEvent = procedure (Sender: TObject; const PageName: string; Reason: TPageAccessDenied; var Handled: Boolean) of object;
C++
(Sender: TObject; const PageName: string; Reason: TPageAccessDenied; var Handled: Boolean) ( TPageAccessDeniedEvent)();

TPageAccessDeniedEvent is the type for event handlers of a page dispatcher that respond when the current user can't be validated for accessing the requested page. 

Sender is the page dispatcher that checked the caller's rights to access the requested page and found them insufficient. 

PageName is the name of the Web page module to which the request was directed. 

Reason indicates why the caller was not validated. 

Handled returns an indication of whether the event handler has handled the situation (typically, by generating an appropriate response message). This value determines what the page dispatcher does next after the event handler exits, as indicated in the previous table. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!