Back to User class

Method clearAccessRights

public void
clearAccessRights
()
Clears the access rights cache of this user
Returns
  • void
Since
  • 3.4.0
Class: User
Project: Joomla

Method clearAccessRights - Source code

/**
 * Clears the access rights cache of this user
 *
 * @return  void
 *
 * @since   3.4.0
 */
public function clearAccessRights()
{
    $this->_authLevels = null;
    $this->_authGroups = null;
    $this->isRoot = null;
    Access::clearStatics();
}