﻿<?xml version="1.0" encoding="utf-8"?>
<ReportsExport>
  <Reports>
    <Report id="9789b5c2-fb8e-451e-8b12-6ed7323a5edf" codekey="Debeka_AllUsersAtTimeX" categoryCodekey="UserStats" name="Alle User zum Zeitpunkt x" description="">
      <MetaData created="2010-05-06T11:23:07" createdBy="Administrator VIWIS" modified="2012-04-12T17:15:35" modifiedBy="Administrator Debeka" />
      <ExecutionDetails format="TableResult" commandType="SqlCommandOrQuery" exportHandler="" adminControl="" exportMultipleTablesToSheets="False" datesWithTime="False" extraParams="" />
      <Mandators mandatorMode="OnlyOwner" mandator_id="6279bb24-f218-49e0-9155-7c1cb1dba226" mandatorName="Debeka" isStandard="False" isUsedByMenu="False" />
      <Roles>
        <Role id="90" />
      </Roles>
      <command>
        select descUserCn, Nachname, Vorname,
        startTime AS LoggedOnTime,
        lastPingTime, 1 AS loggedon -- due of tblStatsPlatformSessions.durationSeconds is null allways logged on
        from tblStatsPlatformSessions
        inner join v_Users on v_Users.intUserCn=tblStatsPlatformSessions.user_id
        where tblStatsPlatformSessions.durationSeconds is null and v_Users.mandator_id=@current_mandator_id
      </command>
    </Report>
  </Reports>
</ReportsExport>