you can use: $utils.isUserAuthenticated() 

Ex:
----------------------------------------
#if( $utils.isUserAuthenticated() == true)
   //user is authenticated
#end 
----------------------------------------

Sedat

--- benjamin servant <[EMAIL PROTECTED]>
wrote:

> Ok thanks for the answer.But my guess is that
> $entry.creater.fullName. will return me the full
> name of the entry creator...My need is to get the
> username or the full name of the person currently
> connected on the blog.Or even better to use a
> dataobject which returns a boolean saying whether
> the person is logged in or not.Is there a mean to do
> that???thx.> Date: Fri, 27 Apr 2007 11:27:52 -0600>
> From: [EMAIL PROTECTED]> To: user@roller.apache.org>
> Subject: Re: Data object, template guide> > "So the
> short answer is, you aren't supposed to use
> $user.userName"> Nice, :)> > On 4/27/07, Allen
> Gilliland <[EMAIL PROTECTED]> wrote:> >> > The
> $user object is a legacy variable from earlier
> versions of Roller> > where the code was much
> different than it is now and you really should> >
> not need to use it.> >> > I believe the only current
> way to get access to a user profile is via a> >
> weblog entry object which gives you access to it's
> creators profile,> > like $entry.creater.fullName.>
> >> > So the short answer is, you aren't supposed to
> use $user.userName, it's> > old and unsupported in
> recent versions of Roller.> >> > -- Allen> >> >> >
> mohamed felfel wrote:> > > i find that a bit
> confusing too. What are we reffering to? the user> >
> doing> > > the installation?, and the enviroment
> variables that we set in the> > > biggining, do we
> do that at our ~/.bash_profile if we're using bash
> on> > > unix?> > >> > > On 4/27/07, benjamin servant
> <[EMAIL PROTECTED]> wrote:> > >>> > >>
> Hi,does anyone knows how to use the data object
> $user.username> > described> > >> in the roller
> template guide???I always got the error invalid> >
> >> reference.Thx for your help.> > >>
>
_________________________________________________________________>
> > >> Essayez Live.com et créez l'Internet qui vous
> ressemble : infos,> > sports,> > >> météo et bien
> plus encore !> > >> http://www.live.com/getstarted>
> > >> > >> > >> > >> >> > > > -- > MoZey
>
_________________________________________________________________
> Essayez Live.com et créez l'Internet qui vous
> ressemble : infos, sports, météo et bien plus encore
> !
> http://www.live.com/getstarted


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to