I am in need of deleteing about 100 users. How can I delete them quickly instead of one at a time?

Comments

giorgosk’s picture

You can go to cpanel > phpmyadmin > drupal database > table users > browse
check all the users that you want to delete
and press X at the bottom of the list

If these users have created posts then the authors on this posts would probably be "N/A"

--
Chios Greece sightseeings

------
GiorgosK
Web Development

marcp’s picture

The userplus module provides this functionality. Note that you will not be prompted for "are you sure you want to delete these users"...
-------
http://www.funnymonkey.com
Tools for Teachers

galgoz’s picture

Thanks, I will try the module.

George Algozzini

benofsky’s picture

If PHP My Admin is installed quick and easy open the users table and check the box next to the users you want gone and drop! Although use the module if the want. Good Luck.
Ben
Benofsky Park.com

Michael M’s picture

I wouldn't use phpmyadmin for this because those users might have nodes, comments, etc. associated with them. I hope the module takes this into account.

----
http://PointHomes.com

marcp’s picture

When userplus deletes users, it does the same thing that user.module does. It deletes from {users}, {sessions}, {users_roles}, and {authmap} for a given user id. It then calls hook_user with 'delete' so that any modules that attach data to users can clean up after themselves.

So, while userplus does not delete nodes or comments, it is designed to let any module's hook_user do so.
-------
http://www.funnymonkey.com
Tools for Teachers