RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebUserItem.CheckRights Method

Checks the user's stored access rights against the access rights passed in.

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

This function checks the user's stored access rights against the access rights passed in. If the user has a matching right, then the function returns true or it will return false if the rights do not match. 

 

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