0
inovatech created
Hi, It is possible, if so how, get the amount of users logged by tenant ?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi,
Would you like to get count of online users of a tenant ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
That's it. I want to get this information to limit the number of simultaneous users connected to the system.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
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.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)