how to delete users from opencore
Opencore 0.12 or later
As a site admin, or project administrator, type in the following URL:.../openplans/people/<username>/delete
Submit the form and the user will be deleted, including their wordpress accounts.
Users can also use this to remove their own account.
A link to this form will be added in a later version of opencore.
Opencore 0.11 and earlier
On older versions of opencore, you can go to the zmi and delete the user from the people folder and portal_memberdata. This should also take care of the user in wordpress' mysql database.
Or alternatively, on the zope debug prompt:
username = 'admin'
n = app.openplans
md = n.portal_memberdata
ms = n.portal_membership
Then, in WordPress mysql:
mysql -u user_name db_name -p
in wordpress, you can look up this database information in wordpress-mu/wp-confi
or in etc/wordpress/settings.php
select * from wp_users where user_login like 'cabraham%';
delete from wp_users where id in (169,170);
delete from wp_usermeta where user_id in (169,170);