Solved

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

Posted on 2009-07-04
5
352 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

777 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