Force log out/ sign out of all users

Certified Lead Developer

Is there a way to kick all users out of the environment?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    It might be possible to grab every user that's a member of your "All Users" group via getDistinctUsers, then a!forEach the list of all your users and a!deactivateUser() all of them. Again no one will be able to log in, but you'll have to wait for everyone else to leave. After you're done with whatever you need to do you can a!reactivate the same list.
Reply
  • 0
    Certified Lead Developer
    It might be possible to grab every user that's a member of your "All Users" group via getDistinctUsers, then a!forEach the list of all your users and a!deactivateUser() all of them. Again no one will be able to log in, but you'll have to wait for everyone else to leave. After you're done with whatever you need to do you can a!reactivate the same list.
Children
No Data