Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-07-04
5
Medium Priority
?
358 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 400 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 400 total points
ID: 24782898
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

688 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