Forum .LRN Q&A: Re: How to get rid of deleted users?

Collapse
Posted by Peter Marklund on
Yes, there is a proc called ad_remove_user (in acs-tcl/tcl/community-core-procs.tcl) that you can use. I recently fixed this proc for PG so if you're on PG you should get the latest CVS HEAD sources. Note however that this proc can only really be used for users who have recently registered and don't have contents from various packages associated with them. For a typical user I think there will be referential constraints that will cause the proc to fail.