RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebEndUser.HasExecuteRights Method

Indicates whether the current user has access rights to execute Web pages or adapters associated with a specified access string.

Pascal
function HasExecuteRights(ARights: string): Boolean;
C++
__fastcall Boolean HasExecuteRights(AnsiString ARights);

Call HasExecuteRights to determine whether the current end user is authorized to execute Web pages or adapters whose ViewRights property is the value specified by ARights.  

Typically, the end user adapter that implements this interface implements HasExecuteRights by checking the AccessRightsStrings property of the entry for this end user in a TWebUserList component. Note that in this case, the end user must be logged in before HasExecuteRights can determine the user's access rights. 

 

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