Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  show display name in skin?
Previous Previous
 
Next Next
New Post 3/11/2008 2:13 PM
Resolved
User is offline kay rupt
13 posts
www.thesportstrunk.com
10th Ranked


show display name in skin? 

Hi,

I found online that the following will render the username of a logged in user:

<%=IIf(Request.IsAuthenticated, HttpContext.Current.User.Identity.Name, "Register")%>

However, I would like to just render the display name of the user. Does anyone have know how to do this?

thanks,

Karuna

 
New Post 3/12/2008 1:27 AM
Accepted Answer 
User is offline Timo Breumelhof
1628 posts
5th Ranked




Re: show display name in skin?< 
Modified By Sebastian Leupold  on 3/12/2008 5:20:02 AM)

<%=UserController.GetCurrentUserInfo.DisplayName%>

should work


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 3/12/2008 11:37 AM
User is offline kay rupt
13 posts
www.thesportstrunk.com
10th Ranked


Re: show display name in skin?< 

Thank you so much. Cliche: You the man.

Does this apply to all the user profile properties too?

 
New Post 3/13/2008 5:18 AM
User is offline Timo Breumelhof
1628 posts
5th Ranked




Re: show display name in skin?< 

Yes it does, email, first- lastname etc.


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  show display name in skin?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP