RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebEndUser.HasModifyRights Method

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

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

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

Typically, the end user adapter that implements this interface implements HasModifyRights 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 HasModifyRights 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!