Thursday 04 August 2005 7:16:43 am - 3 replies
Antoine W.
Friday 12 August 2005 3:41:12 am
After searching a few days, I cant find a code working to delete properly an user.Any help would be greatly appreciated =)
K259
Tuesday 16 August 2005 6:27:59 am
I wonder how it's possible to delete a user with sql on the command line in eZ publish...and howto list all users which belongs to a specific group with sql.
Michael D.
Wednesday 10 May 2006 4:44:14 am
Antoine: Try adding this code under eZUser::removeUser
eZContentObjectTreeNode::removeSubtrees( array($existUser->attribute("node_id")), false );
The second parameter tells ez to delete the user (if false) instead of just moving it into the trash (if true).
I hope this helps.
You must be logged in to post messages in this topic!