[horde] removeUserData API

Michael Rubinsky mrubinsk at horde.org
Thu Sep 18 00:55:58 UTC 2008


Quoting Andrew Morgan <morgan at orst.edu>:

> Is there any documentation or quick guidelines for using the  
> removeUserData API in Horde, IMP, Kronolith, Turba, Nag, and Mnemo?  
> Ideally, I'd like to create a script that I can pass a list of users  
> to remove.
>
> Currently, I have a script which removes users directly from the  
> various MySQL tables.  I'll be upgrading to the latest RC releases  
> of Horde projects soon, which will require rewriting the script  
> anyways.  If I could use the removeUserData API then I wouldn't need  
> to update my script everytime Horde changes.


You must be logged in as an administrator, then you just call the  
various app/removeUserData() methods through $registry->call() passing  
the username you want data removed for.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20080917/caaa8f22/attachment.bin>


More information about the horde mailing list