Where in User.Identity.Name gets a value in Login control?
- From: "Athena" <Nospam@xxxxxxxxxx>
- Date: Wed, 28 Nov 2007 19:55:11 -0500
Hello,
For a logging application I need to test the value of User.Identity.Name together with User.Identity.IsAuthenticated to direct the program flow. I tried Login.Authenticated, LoggedIn and Page_Load events. In all cases the value is returned as empty. Based on whether this value equal to "admin" I would like to make a CreateUserWizard control visible if the user is authenticated. I would appreciate if you give me a code example. Thank you.
Athena
.
- Follow-Ups:
- Re: Where in User.Identity.Name gets a value in Login control?
- From: Ian Semmel
- Re: Where in User.Identity.Name gets a value in Login control?
- From: Eliyahu Goldin
- RE: Where in User.Identity.Name gets a value in Login control?
- From: Wainage
- Re: Where in User.Identity.Name gets a value in Login control?
- Prev by Date: Re: Why use Ajax -- All comments welcome
- Next by Date: ASP.NET Menu Control Option Help
- Previous by thread: Re: Why use Ajax -- All comments welcome
- Next by thread: RE: Where in User.Identity.Name gets a value in Login control?
- Index(es):