[dev] Preferences

Chuck Hagenbuch chuck at horde.org
Mon Jan 13 12:33:20 PST 2003


Quoting Ben Chavet <ben at chavet.net>:

> Is there a way to retrieve preference values for a user other than the
> one currently logged in?

$prefs->getPref().

>  I need to get a list of users to link to.  I could use the user_uid from
> auth->listUsers(), but I'd rather use the 'fullname' preference that all
> the users have (or if they don't have it, default back to the user_uid).

For that, you want to read their identity. See Whups::getUserAttributes() in
whups/lib/Whups.php for an example.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the dev mailing list