Remove unused function.
Revoke roles

Refs #20358