title: How to sign out a user in ASP.NET Core Identity
body: <p>I am trying to log out all active sessions of a user that I am changing (deleting, adding or removing roles, changing the password etc.).</p>
  
  <p>I found solutions for old versions of ASP .NET. Essentially calling <code>UserManager.UpdateSecurityStampAsync(userId);</code> but this doesn't seem to work with ASP .NET Core. I can call the function, but it just does nothing. The user is still logged in after that.</p>
  
  <p>So how on earth can I log out a logged in user (all open sessions)?</p>