HowCanIMakeContentAppearOnlyForASpecificUser

Last modified by Sergiu Dumitriu on 2010/02/02

Question How can I make content appear only for a specific user?
Answer In syntax 2.0:
{{velocity}}
#if($context.user == 'XWiki.Admin')
Put the private content here.
#end
{{/velocity}}

In syntax 1.0:

#if($context.user == 'XWiki.Admin')
Put the private content here.
#end
Tags:
Created by Sergiu Dumitriu on 2010/02/02
   

Get Connected