title: Get User Profile - dektrium/yii2-user Yii2
body: <p>I have used <a href="https://github.com/dektrium/yii2-user" rel="nofollow">dektrium/yii2-user</a> in my application. 
  And there is a method named <code>getID()</code> in <strong>User.php</strong> of <strong>vendor/dektrium</strong> and this method can be accessed by <code>Yii::$app-&gt;user-&gt;getID()</code> and returns <code>id</code> of the logged in user.</p>
  
  <p>However, there is another method named <code>getProfile()</code> whose function is to return complete profile details of currently logged in user. But, this method is giving 500-internal server error.</p>
  
  <pre><code>exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: yii\web\User::getProfile()' in ... ...
  </code></pre>
  
  <p>I Googled the issue but found nothing... Help me folks..</p>