Get other users data custom value
Drupal 8 :

$user = \Drupal\user\Entity\User::load($uid);
$value = $user-&gt;field_name-&gt;value;


For multiple values, use

$value = $user-&gt;get('field_name')-&gt;getValue();