Solved

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

Posted on 2009-06-27
6
328 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now