Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
rbac
ManagerInterface
revokeAll
yii\rbac\ManagerInterface::revokeAll PHP Méthode
ManagerInterface Interface Documentation
Afficher le fichier
Open project: yiisoft/yii2
revokeAll()
public
méthode
Revokes all roles from a user.
public
revokeAll
(
mixed
$userId
) :
boolean
$userId
mixed
the user ID (see [[\yii\web\User::id]])
Résultat
boolean
whether the revoking is successful
public function revokeAll($userId);
ManagerInterface
add
addChild
assign
canAddChild
createPermission
createRole
getAssignment
getAssignments
getChildRoles
getChildren
getPermission
getPermissions
getPermissionsByRole
getPermissionsByUser
getRole
getRoles
getRolesByUser
getRule
getRules
getUserIdsByRole
hasChild
remove
removeAll
removeAllAssignments
removeAllPermissions
removeAllRoles
removeAllRules
removeChild
removeChildren
revoke
revokeAll
update