C
C#2d ago
chimera

Updating SecurityStamp on Many users

Using .net 9 with Entity Framework Identity, i often feel very locked in to getting a user from the DB. In this case i have a need to logout alot of users if changes are made to a group they are a part of. I would usually call UserManager.UpdateSecurityStamp, but the i would have to get and track each user from the database, just to update that one. I've found the implementation to generate a SecurityStamp but it doesn't feel right to copy that into a new class. What i would like to do is use ExecuteUpdate
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?