Delete user after Contact Form 7 submission [closed]

You’re doing it wrong. get_currentuserinfo() returns the data into some preset global variables. Try this:

function outta_here() {

    global $user_ID;
    get_currentuserinfo();

    wp_delete_user($user_ID);
}
add_action( 'wpcf7_before_send_mail', 'outta_here' );

You can read more about get_currentuserinfo() on WP Codex.