Solved

Window Authentication

Posted on 2010-11-29
5
411 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 500 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using sample Autorize.net c# simple example 1 51
ComboBox to String Not Working 5 41
PDF Turn Look 7 28
modify font on ninja form 1 17
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

738 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