[horde] Listing of users in horde database
Jan Schneider
jan at horde.org
Tue Mar 8 17:13:31 UTC 2016
Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Philipp Faeustlin <Philipp.Faeustlin at uni-hohenheim.de>:
>
>> Hi,
>>
>> I know listing of users, when using imap as backend is not possible.
>>
>> But there have to be a way to get a complete list of users known by
>> horde in its database?
>>
>> I want to use the "horde-remove-user-data" script on command line
>> to remove old user data, but I don't know the usernames of the old
>> users.
>> I only know the names of the actual users, I don't want to remove.
>
> Probably the easiest way to do this within horde is to get them from
> the share system. See e.g., Kronolith_Application::listAlarms for
> how this is done via the Horde_Share_Base::listAllShares() method.
SELECT pref_uid from horde_prefs WHERE pref_name = 'last_login'
is safer.
--
Jan Schneider
The Horde Project
http://www.horde.org/
More information about the horde
mailing list