Reported By: Georgios Savva [Easysoft Limited] Reported On: 4/19/2021 For: Version 3.00 Build 1
# 4824Calling the TServerSession HasPrivilege Method Results in Error When I call the 'HasPrivilege' function I get an Application Error message box: 'You can only use Find method when a list is sorted'
procedure TMainForm.ApplicationSessionComplete(Session: TServerSession);
var
AllowAccess : boolean;
begin
if Session.Authenticated then
LoginPanel.CaptionBar.Caption := Session.UserName;
Label3.Caption := Session.EffectiveRoles.Text;
AllowAccess := Session.HasPrivilege ('HRM_Employee');
end;
ResolutionFixed Problem on 4/20/2021 in version 3.01 build 2
Products AffectedElevate Web Builder Elevate Web Builder Trial