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