If an owner isn't complying with the bylaws, the HOA can seek to impose against the owner whatever sanction the bylaws permit. That doesn't mean they can barge into a unit and demand that everybody provide photo ID.