Weiter zu Using yii\web\User - You mainly use yii\web\User in terms of the user The yii\web\User::login() method sets the identity of the current .