Or you could use grep to exclude lines based on a regular expression pattern. It might be cleaner if you have multiple patterns:
... | grep -v -e ^root -e ^usera -e ^userb ...
You can just add "-e pattern" clauses for each one you want to exclude. ^ just means "beginning of line"