Thursday 04 August 2005 7:16:43 am
Hi !
I'm coding a custom login handler and I need to delete an user when this user dont more exist in a distant database. I have tried with the following code : $existUser =& $this->fetchByName( $login );
if( $existUser )
{
$userId =& $existUser->id();
eZUser::removeUser( $userId );
}
With this code, user that should be deleted already exists in the user list, but all its attributes are empty (login, password, email...).
Do you know which function must be called to remove node assignment of this object ? Must I call other functions to be sure to delete every related informations about this user ? Thanks !
|