static procedure TContextUtils.GetOperatorPositions(AContext: TContext; AList: TList);
var
I: Integer;
lOperator: TOperator;
begin
if TOrgUtils.GetIsPersonMember(AContext) then
AList.Add(AContext.GetParentContext(BizSys.IL_POSITION).Owner)
else
begin
lOperator := GetOperator(AContext);
for I := 0 to lOperator.PositionCount - 1 do
AList.Add(lOperator.Positions[I]);
end;
end;