RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IPageDispatcher.GetCanView Method

Indicates whether the current user is permitted to view a specified Web page.

Pascal
function GetCanView(const APageName: string): Boolean;
C++
__fastcall Boolean GetCanView(const AnsiString APageName);

Call GetCanView to check whether the current user should be allowed to view a specified Web page. Typically, this method is called after the user logs in. 

APageName is the name of the Web page the user wants to view. 

 

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