?
Solved

Window Authentication

Posted on 2010-11-29
5
Medium Priority
?
413 Views
Last Modified: 2012-05-10
I need to atuhenticat a users name through windows Authentication than attache that user name to a domain name using c#, xml, and ASP.NET. Need help please....
0
Comment
Question by:newjeep19
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Author Comment

by:newjeep19
ID: 34231403
Code I am using:

            // Display the User Name
            // Without the Domain prefix
            lblLogin.Text = "Applications Available for: " + HttpContext.Current.User.Identity.Name;
How ever when I run the debugger thru Visual Studio the user name does not appear
0
 

Author Comment

by:newjeep19
ID: 34232025
I really need a response to this quickly! Please help! Thanks
0
 
LVL 13

Accepted Solution

by:
Jesus Rodriguez earned 1500 total points
ID: 34232383
Try with system.enviroment.Username

lblLogin.Text = "Applications Available for: " + system.enviroment.Username;
0
 

Author Closing Comment

by:newjeep19
ID: 34232776
I had an issue with IIS
0
 

Author Comment

by:newjeep19
ID: 34232875
No I want the end date to be no greater than 180 day's (6 months ) from the start date. So, If the endate is 7 month's past the start date then the alert will state: you selected a date that is more than six months form the start date and then clears the end date textbox and the user has to select another date (via popcalender) that is not greater than the start date.
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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

762 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