[horde] Horde 4.0.6 (final) - How to remove/delete a user or make an account inactive?
Michael M Slusarz
slusarz at horde.org
Wed Jun 15 10:29:26 UTC 2011
Quoting Laurent Foucher <laurent.foucher at iut-tlse3.fr>:
> gimili <gimili17 at gmail.com> a écrit :
>
>> With the latest version of horde, how should a user be removed? Is
>> it ok to just search for the user name in phpmyadmin and delete the
>> records? There are some scripts and ideas on the wiki but I don't
>> know if they still work. We don't have a lot of users but I have
>> an old user getting daily agendas which are bouncing. Is there a
>> way to make an account inactive?
>>
>> Thank you for any help/advice,
>>
>
> There is an xmlrpc procedure removeUserData :
>
> #!/usr/bin/perl -w
>
> use XMLRPC::Lite;
> use Data::Dumper;
>
> my $proxy = 'http://username:password@example.com/horde/rpc.php';
>
> my $xlite = XMLRPC::Lite
> -> proxy($proxy)
> -> call('horde.removeUserData', 'my_user');
>
> my $status = $xlite->result;
>
> print Data::Dumper->Dump($status);
>
> I don't know why, but it doesn't work and i have the following logs :
>
> [horde] Horde_Rpc::authorize() exiting [pid 23083 on line 140 of
> "/usr/share/php/Horde/Rpc.php"]
> [horde] Load config file (prefs.php; app: horde) [pid 23083 on line
> 860 of "/usr/share/php/Horde.php"]
>
> [horde] PHP ERROR: Missing argument 1 for Horde_Prefs::remove(),
> called in /var/www/horde4/lib/Api.php on line 232 and defined [pid
> 23083 on line 146 of "/usr/share/php/Horde/Prefs.php"]
http://bugs.horde.org/ticket/10241
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list