[horde] userid in the trailer() hook

Michael J Rubinsky mrubinsk at horde.org
Thu Jun 9 17:23:38 UTC 2016


Quoting Federico Giannici <giannici at neomedia.it>:

> Hi.
> In the trailer() hook in imp/config/hooks.php I need to know what is  
> the current user (that is, the horde userid ). How can get it from  
> the IMP_Prefs_Identity parameter?

$GLOBALS['registry']->getAuth()



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20160609/13ce8a7d/attachment.bin>


More information about the horde mailing list