function user_delete_multiple

Delete multiple user accounts.

Parameters

$uids: An array of user IDs.

See also

hook_user_predelete()

hook_user_delete()

2 calls to user_delete_multiple()
UserDeleteTest::testUserDeleteMultiple in drupal/core/modules/user/lib/Drupal/user/Tests/UserDeleteTest.php
Test deleting multiple users.
user_delete in drupal/core/modules/user/user.module
Delete a user.

File

drupal/core/modules/user/user.module, line 1924
Enables the user registration and login system.

Code

function user_delete_multiple(array $uids) {
  entity_delete_multiple('user', $uids);
}