procedure TMainForm. btnGetAllFuncClick (Sender: TObject);
var
list: TOrgFuncItems;
I: integer;
begin
MemoResult.Clear;
list := TOrgFuncItems.Create;
try
if OrgSys.OrgSystem.GetPersonAllFuncs('ZXX', list) then
for I := 0 to list.Count - 1 do
MemoResult.Lines.Add(list.Items[I].FuncDisplayName);
finally
list.Free;
end;
end;