API17

API17:JTableUser::delete

From Joomla! Documentation

Joomla 11.1 JTableUser::delete

Description

Method to delete a user, user groups, and any other necessary data from the database.


public function delete ($userId=null)
Parameter Type Default Description
$userId integer null An optional user id.
  • Returns boolean True on success, false on failure.
  • Defined on line 314 of libraries/joomla/database/table/user.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples