Solved

Need User.Identity.Name in user control

Posted on 2004-08-05
3
466 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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