Solved

AD Authentication to my web application from ASP.Net 2.0 Login Control

Posted on 2009-06-27
6
334 Views
Last Modified: 2012-05-07
Dear All,

  I'm designing a page in Visual Developer 2005 Express Edition. In this one we are placing one Login Control. Through this login control I need to connect AD and depending on the authentication I need to develop some more logic. Please suggest me which way I need to proceed.

Thanks,
Rao.
0
Comment
  • 4
6 Comments
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 75 total points
ID: 24727386
hi PillalamarriVenkates&,

                             Check these links.

How To: Use Forms Authentication with Active Directory in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998360.aspx

How To: Use Forms Authentication with SQL Server in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998317.aspx

Walkthrough: Creating a Web Site with Membership and User Login:

http://msdn.microsoft.com/en-us/library/879kf95c.aspx

----------------------

ASP.NET 2.0's Membership, Roles, and Profile :

http://www.4guysfromrolla.com/articles/060706-1.aspx

User registration and authentication for an ASP.NET 2.0 webs:

http://www.beansoftware.com/ASP.NET-Tutorials/Authorization-Authentication-Registration.aspx



0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 50 total points
ID: 24727594
Hello ,
By default SqlMemberShipProvider and SqlRoleProvider used.

In order to use LDAP use

http://sourceforge.net/projects/dotnetldap

or any other class for LDAPmembership provider.


0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24743147
Hai jinal,
Any download or code is there in that URL ?
Anyway Guys,
I used the below URL to connect AD from my normal web application. But I don't get any luck.
http://it.toolbox.com/blogs/coding-dotnet/using-active-directory-to-authenticate-7966
Please check it once.
Thanks.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24782749
Hello guys,
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
-------------------------------------------
I'm moving to one more step that, At present I had given Without any Sign In Button.
What I want to do is, I want to implement a SharePoint in Built Sign In Control In my web application. How Can I do this One ?
In Detailed,
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.
Please provide me the guidelines on this one.
Thanks.
0
 
LVL 13

Accepted Solution

by:
PillalamarriVenkateswaraRao earned 0 total points
ID: 24821589
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications.
And I'm very thankful to you guys for guidelines and URLs.
Thanks.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24821607
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications with Windows Authentication.
And I'm very thankful to you guys for guidelines and URLs.

Thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

790 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