something like this?

User user = MgnlContext.getInstance().getUser();
if(user != null && !"anonymous".equals(user.getName().toString())) {
} else {
}


Jaswinder Kaur wrote:

Is there a way to access session attributes inside a paragraph ? The requirement is if a user's login, we want to some user specific information within a text

Thanks in advance
Jaswinder




MailGate.vsp.com made the following annotations
---------------------------------------------------------------------
NOTICE: This message is intended only for the individual to whom it is addressed and may contain information that is confidential or privileged. If you are not the intended recipient, or the employee or person responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution, copying or use is strictly prohibited. If you have received this communication in error, please notify the sender and destroy or delete this communication immediately. ---------------------------------------------------------------------



------------------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to