Solved

Need User.Identity.Name in user control

Posted on 2004-08-05
3
459 Views
Last Modified: 2006-11-17
I need to get access to the user name User.Identity.Name within a user control, as it does no inherit the Page class how do i do this?

Thanks kieran
0
Comment
Question by:kplonk
  • 2
3 Comments
 
LVL 1

Expert Comment

by:xorcrack
Comment Utility
access it like this:

Page.User.Identity
0
 
LVL 1

Accepted Solution

by:
xorcrack earned 50 total points
Comment Utility
i meant:
Page.User.Identity.Name
0
 

Author Comment

by:kplonk
Comment Utility
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now