[dev] Some functionality and tweaking questions
Jan Schneider
jan@horde.org
Tue, 13 Nov 2001 11:08:59 +0100
Zitat von M Z Rahman <zrahman@partex.net>:
> >
> > I think you should rather fall back to the behavior of the login
> screen:
> > ucfirst(Auth::getAuth())
> >
> > Jan.
> >
>
> Hmmm, then again will it report the domain? What about virtual domain
> users then?
It will return whatever the users entered to login to Horde. But of course
you can mix and match the identity stuff with your code.
Say you try to get $identity->getFullname() and if it's empty fall back to
Auth::getAuth() or $imp['user']. The latter one of course works only in IMP
but that was what you intended if I remember right.
Jan.
::::::::::::::::::::::::::::::::::::::::
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
::::::::::::::::::::::::::::::::::::::::::::::