0
inovatech created
3 Answer(s)
-
0
Hi,
Would you like to get count of online users of a tenant ?
-
0
That's it. I want to get this information to limit the number of simultaneous users connected to the system.
-
0
Hi,
Inject "IOnlineClientManager" in your class and then you can get online users of current tenant like this,
_onlineClientManager.GetAllClients().Where(u=> u.TenantId == AbpSession.TenantId);
I hope this helps.