DotNetNuke Powered!
          
John Mitchell's (mostly DotNetNuke) Blog - Put Admin only content in your DotNetNuke Skin
 Monday, December 04, 2006

If you are looking for a way to have conditional content shown in your skin without having to use a module, you can do it with some inline code.

<% If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) %>
      Admin only content here
<% End If %>

12/4/2006 1:46:50 PM (Central Standard Time, UTC-06:00)  #    Comments [1]