To achieve your aim, run the following code from the sql interface in host menu (check execute script):
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE {DatabaseOwner}[{objectqualifier}GetOnlineUsers]
@PortalID int
AS
SELECT
TabID, CreationDate, LastActiveDate, U.UserID, U.PortalID, FirstName, LastName, Displayname, Displayname AS USerName, IsSuperUser, EMail, Authorised
FROM {objectqualifier}UsersOnline UO
INNER JOIN {objectqualifier}vw_Users U ON UO.UserID = U.UserID
WHERE UP.PortalID = @PortalID