How do I unpublish a user's content with rules?
The configuration would look like this:


Build a view that, when given a user ID as input, lists all the
nodes that that user has posted.
Use view style bulk operations, and select the action unpublished
node.
Set up a rule that triggers on user updates. (Is there one? I'm not
sure...) As condition, compare the roles before and after user save
to see if anything should be unpublished. As an action, let it call
the view from.


Use this idea you can do that