function user_delete
user_delete($uid)
Delete a user.
Parameters
int $uid: A user ID.
File
- core/modules/user/user.module, line 842
- Enables the user registration and login system.
Code
function user_delete($uid) { user_delete_multiple(array($uid)); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!user!user.module/function/user_delete/8.1.x