mongodb\rbac\MongoDbManager revokeAll()

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

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.