Метод | Описание | |
---|---|---|
can ( string $cap ) : boolean | Check if the user can do a defined capability. | |
hasRole ( string $role ) : boolean | Check if the user has role. | |
setRole ( string $role ) : |
Set User role. | |
update ( array $userdata ) : |
Update the user properties. |