Removes a user from a blog.
Accepts an optional $reassign parameter, if you want to reassign the user's blog posts to another user upon removal.
<?php remove_user_from_blog( $user_id, $blog_id, $reassign ); ?>
Remove user 243 from blog 3 and reassign their posts to user 2.
<?php $user_id = 243; $blog_id = 3; $reassign = 2; remove_user_from_blog( $user_id, $blog_id, $reassign ); ?>
Use the 'remove_user_from_blog' action to fire an event when users are removed from a blog.
Since: MU
remove_user_from_blog() is located in wp-includes/ms-functions.php
Blog User Functions: add_user_to_blog(), add_new_user_to_blog(), remove_user_from_blog(), is_user_member_of_blog()