You are not logged in.
Hi, i want to ask if the admin can see which user is currently online at the moment / which user are logging in into the reportserver ? if can't how can i see it ? can i see it in the app or through logs ? thankyou
Offline
Hi felipe,
you can try with this or similar scripts:
displayLoggedInUsers.groovy
import net.datenwerke.security.service.authenticator.*
import net.datenwerke.security.service.usermanager.*
import java.util.GregorianCalendar
def uservice = GLOBALS.getInstance(UserManagerService)
def diff = 1000*60*60
def now = new GregorianCalendar().timeInMillis
GLOBALS.getInstance(AuthenticatorService).lastRequests.collect({ key, value ->
uservice.getNodeById(key)?.username + ", " + ((now-value)/1000/60) + " minutes ago\n"
}).join();
Regards,
Eduardo
Offline