Solved

Need User.Identity.Name in user control

Posted on 2004-08-05
3
461 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
ID: 11730591
access it like this:

Page.User.Identity
0
 
LVL 1

Accepted Solution

by:
xorcrack earned 50 total points
ID: 11730597
i meant:
Page.User.Identity.Name
0
 

Author Comment

by:kplonk
ID: 11730712
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

864 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

24 Experts available now in Live!

Get 1:1 Help Now