473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

asp.net 2.0 membership provider question

I know that I can use Active Directory as the provider for membership on an
asp.net 2.0 site. I also know that I can use sql server as the provider.
Can I use a combination of the 2 somehow? I want to use active directory for
our users with a network account so that they can use the same username and
password. For the users that don't have an account on our network, I want to
allow them to log on to my site using an account just for the site in sql.
Is this possible? Thanks.
Nov 19 '05 #1
5 1051
// tons of fun...
search: membership active directory site:msdn2.microsoft.com

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"lanem" <la***@discussions.microsoft.com> wrote in message
news:BC**********************************@microsof t.com...
I know that I can use Active Directory as the provider for membership on an
asp.net 2.0 site. I also know that I can use sql server as the provider.
Can I use a combination of the 2 somehow? I want to use active directory
for
our users with a network account so that they can use the same username
and
password. For the users that don't have an account on our network, I want
to
allow them to log on to my site using an account just for the site in sql.
Is this possible? Thanks.

Nov 19 '05 #2
Thanks clintonG. I see how that article shows how to configure a site with a
SQL provider and an Active Directory Provider, but how does it really work in
practice. Does the site look up the user in Active Directory and if it
doesn't find it then look it up in SQL? Do you have any more details on how
this actually works?

"clintonG" wrote:
// tons of fun...
search: membership active directory site:msdn2.microsoft.com

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"lanem" <la***@discussions.microsoft.com> wrote in message
news:BC**********************************@microsof t.com...
I know that I can use Active Directory as the provider for membership on an
asp.net 2.0 site. I also know that I can use sql server as the provider.
Can I use a combination of the 2 somehow? I want to use active directory
for
our users with a network account so that they can use the same username
and
password. For the users that don't have an account on our network, I want
to
allow them to log on to my site using an account just for the site in sql.
Is this possible? Thanks.


Nov 19 '05 #3
lanem wrote:
Thanks clintonG. I see how that article shows how to configure a
site with a SQL provider and an Active Directory Provider, but how
does it really work in practice. Does the site look up the user in
Active Directory and if it doesn't find it then look it up in SQL?
Do you have any more details on how this actually works?


Lanem,

The providers are completely separate. Either you use the provider for AD
or the SQL provider. There is no failover.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com


Nov 19 '05 #4
Thanks Jim. That's what I was afraid of.

"JIMCO Software" wrote:
lanem wrote:
Thanks clintonG. I see how that article shows how to configure a
site with a SQL provider and an Active Directory Provider, but how
does it really work in practice. Does the site look up the user in
Active Directory and if it doesn't find it then look it up in SQL?
Do you have any more details on how this actually works?


Lanem,

The providers are completely separate. Either you use the provider for AD
or the SQL provider. There is no failover.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com


Nov 19 '05 #5
lanem wrote:
Thanks Jim. That's what I was afraid of.


If you have a different need, you can write your own provider! There are
examples in the SDK documentation.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Morgan | last post by:
Sorry for cross post, forgot to include aspnet in orinal... Thanks in advance for any assistance. I'm in the process of implementing custom RoleProvider & Membership Provider objects and have...
2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
2
by: Amir Ghezelbash | last post by:
Hello all, I have a question..i am developing a web application in asp.net 2.0 and these past few days i have been reading about asp.net 2.0 Membership providers...now i have a question...i...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
4
by: Pony Tsui | last post by:
I was install the starter kits CLUB, and created a CLUB WEB SITE, this application use the MemberInfo table in club.mdf to store the membership'data, but i can not find out where to define or...
4
by: thomas | last post by:
Hello All, How to change the default Membership Provider during the runtime? I know I can reference any provider I want, e.g.: provider = Membership.Providers but the question is how to...
4
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
I have been having some trouble with implementing a custom Membership Provider. We have a custom data store and business logic that pulls user information. I need some level of functionality...
4
by: vincent90152900 | last post by:
How to remove Security Question and Security Answer from membership provider? Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for...
3
by: dm3281 | last post by:
Hello -- I need to write an ASP.NET 2.0 application for our clients to use to login and verify file transmissions. Each client will need their own logon, in addition to a way to assign each...
0
by: myth0s | last post by:
Hi, The question: Is it possible to have two differents ActiveDirectory Membership Provider in web.config and change at run-time from the default provider to the second provider if the first one...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.