wp_get_current_user

Retrieve the current user object.