Posted By

paololabe on 10/05/10


Tagged

DotNetNuke


Versions (?)

Dot


 / Published in: VB.NET
 

check i current use is logged as admin or host

  1. <% If (DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName)) Or (DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo().IsSuperUser) Then%>
  2. <tr>
  3. <td width="25px" valign="middle">
  4. <dnn:NAV ID="dnnNAV" runat="server" />
  5. </td>
  6. </tr>
  7. <% End If%>

Report this snippet  

You need to login to post a comment.