I'm getting started with ASP.NET Identity, but I've been unable to find a way to fetch a list of the current logged in users. To get all users I can just user
new ApplicationDbContext().Users
where ApplicationDbContext comes with the ASP.NET Web Application template, and extends IdentityDbContext
.
But the IdentityUser
class does not seem to have any way to query for the logged in status.
Thank you for any pointers.