How to prevent user to log in?

I have an app to teams. One is leading the team and invites other users. When the team changes how this admin prevents other user logging in?

Example:
Paul creates the team and becomes admin of the team. He invites Anna and Simon to his team. Some months later Simon leaves. How Paul prevents Simon to log in without losing the data of Simon? Can Paul change Simon’s password or just mark his user account “can’t log in”?

You can create a field called Active of Yes/no type and change it’s value when a member leaves.

Put a Only when condition in the login workflow to check if the user’s Active value is yes or no.

1 Like

I hoped there would be a better option for admin more or less build in. Thanks for suggestion!

This topic was automatically closed after 70 days. New replies are no longer allowed.