Solved

Windows Authentication in ASP.Net 2.0 (Visual Web Developer 2005 Express Edition)

Posted on 2009-07-04
5
355 Views
Last Modified: 2013-12-24
Hello All,

  I started building an AJAX enabled application with AJAX Tab Control. In that tab control we are having two tabs :
1. PaySlip
2. Medical Information and some tabs I need to add in future...

Here My requirement is I need to implement a Windows based Authentication to this application.
I want to provide Sign In Button in the Tab control Page.

AnywayI will explain my logic here by step by step.

1. When a person click the Sign In button they need to get login Window (If They are not in Domain), All the domain Users need to sign in automatically.
My Doubt Is : How can give the login to Windows authentication if I click Sign In Button ??

2. Once login is correct then I need to capture the username.
My Doubt : How Can Capture the Username which is provided by the user ??

3. Then after capturing the username, I need to connect to my Oracle database to compare this username with e-mail id which is there in Oracle database table.
4. After That I need to display the data as per the username.

As per my knowledge we can set Windows Authentication directly from IIS. But I need to Assign the Windows Login Prompt to Sign In Button.....

Please help regarding this issue.

Thanks,
Rao.
0
Comment
[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
  • 3
5 Comments
 
LVL 1

Assisted Solution

by:VijayprakashM
VijayprakashM earned 100 total points
ID: 24776383
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24776438
Hi,
I had seen lots of materials in the net. But not having correct information to me.
And one more thing actually I asked this question in our EE. But those guys are also passed the URL's.
I'm need of Practically experience person suggestion. Thats why only I expalined my problem in detailed.
So please share your thoughts if you already have an idea about my situation.
Anyway thanks for the link.
Thanks.
0
 
LVL 13

Accepted Solution

by:
PillalamarriVenkateswaraRao earned 0 total points
ID: 24776735
Hai VijayprakashM,
 The below blog had given Basic idea on how to do Windows Authentication and how to get the username after logging is completed.
Thanks to scott.
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx 
And I need to find more in this area. I will post some more information after completion of my task.
Please check it once and Share your ideas on that blog and post your suggestions also.
Thanks.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24782754
Hai VijayprakashM,
I want to place a Sing -In Button in my web page, So that a person click that sign in button then he need to authenticate with Windows.  And I need an option that Sign with another User.
How can I accomplish this behaviour ??
Please suggest me.
Thanks.
0
 
LVL 7

Assisted Solution

by:Seo_Expert
Seo_Expert earned 100 total points
ID: 24782898
0

Featured Post

Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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