Solved

Need User.Identity.Name in user control

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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