revokeAll() public method
Revokes all roles from a user.
public boolean revokeAll ( $userId ) | ||
---|---|---|
$userId | mixed |
The user ID (see yii\web\User::$id) |
return | boolean |
Whether the revoking is successful |
revokeAll() public method
Revokes all roles from a user.
public boolean revokeAll ( $userId ) | ||
---|---|---|
$userId | mixed |
The user ID (see yii\web\User::$id) |
return | boolean |
Whether the revoking is successful |
Please login to continue.