Postman collection
Reports Read

pixiReportActiveLogins

Returns the users currently logged in to Pixi that count against licences, optionally including mobile sessions.

Lists the active, licence-relevant logins from the latest login snapshot in UsersLoggedIn.

  1. The procedure first determines the latest snapshot timestamp (Tag). It considers session types 1 and 2 (desktop/web), or types 1, 2, 4 and 5 if IncludeMobileLicences = 1.
  2. It then delegates to the internal procedure Pixi_ShowConcurrentUsersForTag in distinct mode. That procedure recalculates the timestamp as the latest Tag of session types 1 and 2 only. If there is no entry, it uses the current date and time.
  3. Desktop/web sessions (types 1, 2) with that Tag are included only if all of these apply:
    • their AppName is a client in ExeClientVersion with LicenceNeeded = 1;
    • the licence manager for that client type is enabled: setting pixiLicencesManager for desktop (UserActiveSessionTypeRef = 1) or pixiLicencesManagerWeb for web (UserActiveSessionTypeRef = 2).
  4. If IncludeMobileLicences = 1, mobile sessions (types 4, 5) with the same Tag are added.
  5. Computers listed in MasterUsers and the Pixi user master are always excluded.
  6. Rows are grouped per session and Pixi user, so each session appears once. AppName is Desktop/Web or Mobile. ComputerName is the maximum computer name of the session.

NrOfLicences contains the value of the setting pixiLicences if pixiLicencesManager is 1; otherwise it is 0.

Notes

  • All reads use NOLOCK, so results may include uncommitted data.
  • The timestamp computed by this procedure is overwritten inside Pixi_ShowConcurrentUsersForTag, which always uses the latest Tag of session types 1 and 2. Mobile sessions therefore appear only if their Tag equals that desktop/web timestamp.
  • If no licence manager setting (pixiLicencesManager, pixiLicencesManagerWeb) is enabled, no desktop/web sessions are returned.
  • UsersCount is always 0, because the internal procedure is called with its default.
  • The result has no guaranteed sort order.
  • If the setting pixiLicencesManager does not exist (NULL), NrOfLicences is not reset to 0. It then reflects pixiLicences, as read by fpixi_GetSetting (definition not attached).

Tables used

UsersLoggedIn · Read Settings · Read ExeClientVersion · Read MasterUsers · Read
SQL object:
dbo.pipiReportActiveLogins
Updated at 2026-11-13