if batman had a utility belt for mobile apps
it would be web ascender
Blog

Entries for March 2008

DotNetNuke – Show the logged in users name

The DotNetNuke documentation does not always have everything you need to customize the system. Often times you need to open up DotNetNuke in Visual Studio to review some of the methods that are available to you in the skins / ascx controls.

Here is how to show the first name, last name or show the username of the logged in user in DotNetNuke / DNN.

<%If HttpContext.Current.User.Identity.IsAuthenticated=True Then%>


Welcome

<%=UserController.GetCurrentUserInfo().FirstName%>

,

<%End If%>

 

<% If HttpContext.Current.User.Identity.IsAuthenticated=False Then %>


 | Sign Up

<% End If %>

 

<% If HttpContext.Current.User.Identity.IsAuthenticated=True Then %>


 | 

<% End If %>




To show the username of the logged in user in DotNetNuke you can use UserController.GetCurrentUserInfo().UserName

Posted in: DotNetNuke

Whether you realize it or not, a lot of your time at the computer is probably spent moving your hands from the keyboard to the mouse...

Posted in: General

     The blog is one way to stay current on all things Web Ascender. On this page you'll find articles with tutorials, advice, industry news, and other general Web Ascender announcements.  Checking this page regularly (or subscribing to our RSS feed) will help you get the most out of SiteCTO, Enlighten, and our other web marketing and tracking services.

    Michigan Website Design and Development | Link to Web Ascender  |  Related Content
    Michigan Web Design Blog