To proceed to the URL you have requested, click the link below:
https://devhubby.com/thread/how-to-get-the-current-user-object-in-drupal-8