I never confused with Orchard, but in MVC with asp.net forms authentication it would look like this:
if(User.Identity.IsAuthenticated) @T("part_1"): @Model.part_1<br /> else @T("part_2"): @Model.part_2<br />
From a small number of search queries, this seems to work for Orchard as well.
source share