[dev] getting a user's prefs without loggin the user

Jan Schneider janmailing@gmx.de
Tue, 10 Jul 2001 09:21:30 +0000


You can use $params['user_hook'] = "function_to_get_user" to set the username 
manually.
Please take a look at lib/Prefs.php.

Jan.


Zitat von Atif Ghaffar <aghaffar@developer.ch>:

> Hi,
> 
> I am writting a small user's homepage creation module for Horde.
> I would like to use the Horde's prefs system to get information about 
> the user.
> 
> Example if you go to
> www.aghaffar.ispman.net (username: aghaffar)
> then the script may get user's name, company name, phone number etc to 
> create a small homepage for this user.
> 
> So is it possible to call $prefs->getValue("something") without logging 
> in as that user?
> 
> 
> thanks.
> 
> 
> -- 
> Atif Ghaffar
> Internet Development Manager
> 4unet AG/SA/Ltd.
> ---------------------------.
>            +41 21 351 53 60 ¦ voice
>            +41 79 659 89 72 ¦ mobile
>            +41 21 254 53 62 ¦ fax
>        http://www.4unet.net ¦ www
> http://www.atifghaffar.com ¦ homepage
>      atif.ghaffar@4unet.net ¦ email
> 
> 
> --
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 


::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::