Forums / Setup & design / how to: fetching 'additional' user class attributes ?
Alessandro Cipriani
Thursday 01 April 2004 6:04:11 am
hi all i've customized my user class by adding some attribute like: -domain-second e-mail
i can fetch the standard attribute (name, email, login) as follows:
{let user=fetch( 'user', 'current_user' )} *User: {$user.contentobject.name}<br /> *Email: {$user.email}<br /> *Login: {$user.login}<br /> {/let}
how can i fetch the attribute i've added?how can i fetch, for example, only the last name of my user?
best regardsalessandro
Hugo Siles
Monday 05 April 2004 9:24:37 am
the way you can access to your attributes is:
*Domain: {attribute_view_gui attribute=$user.contentobject.data_map.domain}
hugo