OK, I tried $data.User on the Form.vm page and recvd "
org.apache.turbine.om.security.TurbineUser@1f". What else do I not know
that would be required to make this work?
thanks,
Mark Glass
Jon Stevens wrote:
> on 5/11/01 2:56 PM, "Mark Glass" <[EMAIL PROTECTED]> wrote:
>
>> I would like to create a very simple application that turns the background of
>> the page a particular color depending on the user who has logged in. This
>> means
>> I need to somehow obtain the name of the user from the context. I would then
>> use a macro, like #if ( $user.username=="bbunny") then ... <b>bbunny logged
>> in </b>
>> Can someone, please, tell me what is required to get the information into the
>> context.
>>
>> Thanks,
>> Mark Glass
>
>
> It is already there.
>
> $data.User
>
> -jon
>