Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

Window Authentication

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
newjeep19
Asked:
newjeep19
  • 4
1 Solution
 
newjeep19Author Commented:
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
 
newjeep19Author Commented:
I really need a response to this quickly! Please help! Thanks
0
 
Jesus RodriguezIT ManagerCommented:
Try with system.enviroment.Username

lblLogin.Text = "Applications Available for: " + system.enviroment.Username;
0
 
newjeep19Author Commented:
I had an issue with IIS
0
 
newjeep19Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now