Actually, there isn't a way to delete a user. You can only lock them. This is because there is no good way to deal with posting the user already has.
For example, suppose the user has started several topics that have replies from other people. If you delete the posts with the user, you delete the main topic post and all the replies.. so deleting the user that way will delete other users work. Not the right thing to do.
The way most people deal with "deleted" users is to lock the user id and change the user name to something like: user_DELETED or similar. This frees up the user id to be re-used and keeps the postings intact.
There's probably a better way that this could be dealt with but that's what's in the code now.. [originally posted on jforum.net by monroe]
... it's quite some time ago that I last looked in the code (like more than a year ;))
But as far as I remember this should be some url like /user/edit ... so you have to look at the template mappings, which action class is being linked to this "url". This should be something with UserAction or so.
These methods take the request parameters and call the specific method internally to save the modified values to the db/cache
Monroe / Raphael may know more details on it [originally posted on jforum.net by Sid]