Restrict user group from community

Restrict user group from community

Is it possible to restrict a user group to access the community?