My scenario is that I may need to bar certain Users via a workflow from my admin screen (I don’t want to delete the User). If I do, I would like to the log that User out (assuming they are logged in), but I can’t think of a way to log another user out.
Not a good one. I misread your initial post, so the response I deleted was garbage… sorry about that.
I’m still not sure I understand exactly what you want to do, but it looks like @dylan.b.anderson has you covered. Your use of the phrase “bar certain Users” does make me think of having some sort of a blocklist, though, and you could check that list upon page load of the admin screen to see if the current user is in the list. If yes, log 'em out. But again, I could be way off base here, so maybe I will delete this response, too.
It is a 1 page app with groups shown or hidden by states. At the base level there is a Logged In group and a Not Logged In group. I think I will simply add a group to show when logged in AND user is blacklisted.
I was just wondering if an admin could remotely log someone out, but it seems not.