I created custom post type using Toolset. I want to delete current post author ( front-end user ) when i delete the post.

I tried below code :

    global $post; 
    require_once(ABSPATH.'wp-admin/includes/user.php' );
    wp_delete_user( intval($post->post_author) );

But it is not working to me can anyone help me here ?