HowCanIMakeContentAppearOnlyForASpecificUser

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 20:57
Last modified by Sergiu Dumitriu on 2010/02/02 21:00

This wiki is licensed under a Creative Commons license
2.2.1.27354