[dev] Username in Horde

Michael J Rubinsky mrubinsk at horde.org
Sun Jan 29 15:30:50 UTC 2012


Quoting "B.Baransel BA?CI" <bagcib at itu.edu.tr>:

> Hi,
>
>
>
> I'm confused with session variables in horde4 & imp5.
>
>
>
> I installed horde4 & imp5 as web based mail client. In confs, i want to
> assign imap servers by username with ldap search.  In
> imp/config/backendp.local.php , i'm getting users's Active Directory group
> with ldap search and assign imap server according to user's group.
>
>
>
> In ldap search, i must use username but i'm unable to getting username from
> horde. I didn't find which object or session variables hold username..
>
>
>
> Which file(s) must be included in backend and which object&method can give
> me the login username?

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


-- 
mike

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



More information about the dev mailing list